Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005465/0.005465, allocations: 95.98 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 199 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437.1 MB / 0.7106 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 75.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2675, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001934/0.2694, allocations: 0.8161 MB / 1.167 GB, free: 6.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001057/0.2696, allocations: 51.78 kB / 1.167 GB, free: 6.41 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.2696, allocations: 4 kB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.741e-05/0.2697, allocations: 7.875 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.2697, allocations: 7.922 kB / 1.167 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.371e-05/0.2698, allocations: 19.98 kB / 1.167 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.2699, allocations: 59.78 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.27, allocations: 47.97 kB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.452e-05/0.2701, allocations: 23.86 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.2701, allocations: 27.86 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.2702, allocations: 4 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.2702, allocations: 8 kB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.2702, allocations: 15.92 kB / 1.167 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.2702, allocations: 35.8 kB / 1.167 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.2704, allocations: 79.73 kB / 1.167 GB, free: 6.074 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2704, allocations: 8 kB / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2704, allocations: 0 / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.768e-06/0.2704, allocations: 0 / 1.167 GB, free: 6.066 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004517/0.2708, allocations: 383.1 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2709, allocations: 11.97 kB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.2709, allocations: 46.73 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.271, allocations: 12.84 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.2712, allocations: 192.2 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2712, allocations: 8.375 kB / 1.168 GB, free: 5.328 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.2712, allocations: 8.375 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.2714, allocations: 93.83 kB / 1.168 GB, free: 5.219 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2714, allocations: 3.938 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.2714, allocations: 0 / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2714, allocations: 4 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.2715, allocations: 35.92 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.272, allocations: 436.6 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.511e-05/0.2721, allocations: 45.27 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.2721, allocations: 17.84 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-06/0.2721, allocations: 0 / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.2722, allocations: 38.56 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.2722, allocations: 0 / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001502/0.2723, allocations: 61.52 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.2724, allocations: 77.11 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.2725, allocations: 161.5 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.2726, allocations: 25.7 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.2726, allocations: 96.34 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.226e-05/0.2727, allocations: 19.81 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.2727, allocations: 17.72 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2728, allocations: 318.8 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.2729, allocations: 7.984 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.517e-05/0.2729, allocations: 21.72 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.078e-05/0.2729, allocations: 25.72 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.273, allocations: 0 / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.804e-05/0.273, allocations: 69.53 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2731, allocations: 7.938 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2731, allocations: 0 / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2731, allocations: 3.938 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.584e-05/0.2731, allocations: 8 kB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.2732, allocations: 0 / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.527e-05/0.2732, allocations: 3.938 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.2732, allocations: 4 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/0.2733, allocations: 117.9 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.2733, allocations: 15.88 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.067e-05/0.2734, allocations: 11.81 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2734, allocations: 4 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2734, allocations: 0 / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.2734, allocations: 0 / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004021/0.2738, allocations: 474.7 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2738, allocations: 0 / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.2738, allocations: 4 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2738, allocations: 0 / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.2738, allocations: 7.984 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2738, allocations: 0 / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2738, allocations: 4 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.645e-05/0.2739, allocations: 77.95 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.274, allocations: 89.05 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.274, allocations: 0 / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.11e-05/0.274, allocations: 4 kB / 1.17 GB, free: 2.668 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.2741, allocations: 4.031 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.2741, allocations: 4 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.462e-05/0.2742, allocations: 120.9 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2742, allocations: 0 / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001761/0.2744, allocations: 7.938 kB / 1.17 GB, free: 2.535 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003841/0.2747, allocations: 0.6211 MB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.53e-05/0.2748, allocations: 23.94 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2748, allocations: 4.156 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.787e-05/0.2749, allocations: 7.984 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.275, allocations: 8 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.2762, allocations: 1.33 MB / 1.172 GB, free: 420 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.2765, allocations: 0.6924 MB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.2766, allocations: 8.422 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.2766, allocations: 27.38 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.2766, allocations: 0 / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.458/2.734, allocations: 1.579 MB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/13.82, allocations: 10.47 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches