Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.001519/0.001519, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001765/0.001765, allocations: 196.3 kB / 16.26 MB, free: 6.629 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.292/1.292, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.081/2.081, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 75.88 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.5555, allocations: 140.3 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Line): time 0.001894/0.5574, allocations: 0.9464 MB / 0.9502 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007279/0.5582, allocations: 0.8889 MB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.5583, allocations: 2.75 kB / 0.951 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.5583, allocations: 7.922 kB / 0.951 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.504e-05/0.5584, allocations: 13.3 kB / 0.9511 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.5585, allocations: 48.2 kB / 0.9511 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.5587, allocations: 138.7 kB / 0.9512 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.5588, allocations: 59.45 kB / 0.9513 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.5589, allocations: 48.34 kB / 0.9513 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.5589, allocations: 62.69 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.559, allocations: 13.75 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.998e-05/0.559, allocations: 12.38 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.559, allocations: 32.03 kB / 0.9515 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.5591, allocations: 63.28 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.5592, allocations: 134.3 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5592, allocations: 7.938 kB / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5592, allocations: 1 kB / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.5592, allocations: 0 / 0.9517 GB, free: 7.191 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004872/0.5597, allocations: 443.2 kB / 0.9521 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.5597, allocations: 9.156 kB / 0.9521 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.5598, allocations: 50.92 kB / 0.9521 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.5598, allocations: 16.5 kB / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.56, allocations: 211 kB / 0.9524 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.56, allocations: 8.469 kB / 0.9524 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.56, allocations: 17.69 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.5603, allocations: 146.6 kB / 0.9525 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.5603, allocations: 5.344 kB / 0.9525 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.5603, allocations: 5.125 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5603, allocations: 2.75 kB / 0.9525 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.5606, allocations: 133.8 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.5612, allocations: 492.6 kB / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.5614, allocations: 91.81 kB / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.5615, allocations: 50.39 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.5615, allocations: 2.844 kB / 0.9533 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.5615, allocations: 31.94 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.5615, allocations: 0 / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0004039/0.5619, allocations: 157.4 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.562, allocations: 56.59 kB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.5621, allocations: 191.5 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.5621, allocations: 27.02 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.5622, allocations: 114 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.5622, allocations: 32.7 kB / 0.9538 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.5622, allocations: 25 kB / 0.9539 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.027e-05/0.5623, allocations: 323 kB / 0.9542 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.5624, allocations: 41.59 kB / 0.9542 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.5625, allocations: 50.47 kB / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.5627, allocations: 98.78 kB / 0.9544 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5627, allocations: 3.938 kB / 0.9544 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002618/0.563, allocations: 142 kB / 0.9545 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.563, allocations: 5.531 kB / 0.9545 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.563, allocations: 0 / 0.9545 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.563, allocations: 9.109 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.5632, allocations: 27.55 kB / 0.9545 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5632, allocations: 4.953 kB / 0.9545 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.539e-05/0.5633, allocations: 21.88 kB / 0.9546 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.5633, allocations: 3.312 kB / 0.9546 GB, free: 4.688 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 6.34e-05/0.5634, allocations: 127.2 kB / 0.9547 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.5634, allocations: 15 kB / 0.9547 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.5637, allocations: 143.4 kB / 0.9548 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5637, allocations: 1.594 kB / 0.9548 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5637, allocations: 4 kB / 0.9548 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5638, allocations: 1.312 kB / 0.9548 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.5642, allocations: 457.6 kB / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5642, allocations: 0 / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.5643, allocations: 25.67 kB / 0.9553 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5643, allocations: 1.062 kB / 0.9553 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.5643, allocations: 2.281 kB / 0.9553 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5644, allocations: 1.219 kB / 0.9553 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5644, allocations: 1.156 kB / 0.9553 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.5646, allocations: 246.5 kB / 0.9556 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.5647, allocations: 93.75 kB / 0.9556 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.5647, allocations: 2.156 kB / 0.9556 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.5648, allocations: 12.55 kB / 0.9557 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.5649, allocations: 23.95 kB / 0.9557 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.5649, allocations: 3.188 kB / 0.9557 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.888e-05/0.565, allocations: 148.4 kB / 0.9558 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.565, allocations: 0 / 0.9558 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002362/0.5652, allocations: 26.97 kB / 0.9558 GB, free: 3.555 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.000446/0.5657, allocations: 0.783 MB / 0.9566 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.5659, allocations: 108.9 kB / 0.9567 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.566, allocations: 4 kB / 0.9567 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.5661, allocations: 43.73 kB / 0.9568 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.5664, allocations: 27.55 kB / 0.9568 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.568, allocations: 1.906 MB / 0.9586 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.989e-05/0.5681, allocations: 0.7095 MB / 0.9593 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.723e-05/0.5681, allocations: 12.73 kB / 0.9594 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.5682, allocations: 52.2 kB / 0.9594 GB, free: 368 kB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5682, allocations: 0 / 0.9594 GB, free: 368 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.189/2.757, allocations: 2.627 MB / 0.962 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/2.758, allocations: 207.9 kB / 0.9622 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/4.695, allocations: 0 / 0.9622 GB, free: 14.84 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches