Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Limiter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter",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.0007773/0.0007773, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005228/0.005228, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.082/2.082, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004872/0.0004873, allocations: 15.98 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5449, allocations: 142.4 MB / 0.9552 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter): time 0.0005748/0.5455, allocations: 407.4 kB / 0.9556 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005579/0.546, allocations: 0.8247 MB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.5461, allocations: 0 / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.047e-05/0.5461, allocations: 1.375 kB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.5461, allocations: 3.938 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.5462, allocations: 11.2 kB / 0.9564 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.092e-05/0.5463, allocations: 36.98 kB / 0.9564 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.372e-05/0.5464, allocations: 4.125 kB / 0.9564 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.366e-05/0.5464, allocations: 16.17 kB / 0.9565 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.419e-05/0.5465, allocations: 19.94 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.5465, allocations: 1.438 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-06/0.5465, allocations: 2.156 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.5465, allocations: 1.312 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.5465, allocations: 39.03 kB / 0.9565 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 4.942e-05/0.5466, allocations: 29.58 kB / 0.9565 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.5466, allocations: 1.375 kB / 0.9565 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5466, allocations: 4 kB / 0.9566 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.5466, allocations: 0 / 0.9566 GB, free: 6.484 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003173/0.5469, allocations: 360.4 kB / 0.9569 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.547, allocations: 14.3 kB / 0.9569 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.793e-05/0.547, allocations: 34.75 kB / 0.9569 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.713e-05/0.547, allocations: 2.281 kB / 0.9569 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.311e-05/0.5471, allocations: 170.6 kB / 0.9571 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.5471, allocations: 1.469 kB / 0.9571 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.5471, allocations: 6.625 kB / 0.9571 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.5473, allocations: 75.97 kB / 0.9572 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.5473, allocations: 5.094 kB / 0.9572 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.5473, allocations: 4 kB / 0.9572 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.5473, allocations: 0 / 0.9572 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.5475, allocations: 72.66 kB / 0.9573 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.5478, allocations: 277.7 kB / 0.9575 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.548, allocations: 82.97 kB / 0.9576 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.5481, allocations: 41.55 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.5481, allocations: 1.094 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.5482, allocations: 35.5 kB / 0.9577 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.5482, allocations: 0 / 0.9577 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000413/0.5486, allocations: 137.1 kB / 0.9578 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.739e-05/0.5486, allocations: 56.59 kB / 0.9579 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.971e-05/0.5486, allocations: 108.5 kB / 0.958 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.5487, allocations: 26.95 kB / 0.958 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.021e-05/0.5487, allocations: 89.27 kB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.5487, allocations: 1.031 kB / 0.9581 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.5487, allocations: 13.7 kB / 0.9581 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.91e-05/0.5488, allocations: 316.9 kB / 0.9584 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.5489, allocations: 39.59 kB / 0.9584 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.549, allocations: 54.38 kB / 0.9585 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.5492, allocations: 79.17 kB / 0.9586 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5492, allocations: 3.938 kB / 0.9586 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002515/0.5495, allocations: 111.3 kB / 0.9587 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.5495, allocations: 98.08 kB / 0.9588 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.5495, allocations: 3.984 kB / 0.9588 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.606e-06/0.5495, allocations: 1.25 kB / 0.9588 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.5496, allocations: 16.73 kB / 0.9588 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.5496, allocations: 4.031 kB / 0.9588 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.5497, allocations: 17.27 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.5497, allocations: 1.219 kB / 0.9588 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-06/0.5497, allocations: 8.281 kB / 0.9588 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001485/0.5499, allocations: 53.45 kB / 0.9589 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-06/0.5499, allocations: 0 / 0.9589 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-06/0.5499, allocations: 1.188 kB / 0.9589 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.55, allocations: 12.86 kB / 0.9589 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-06/0.55, allocations: 0 / 0.9589 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.55, allocations: 8.281 kB / 0.9589 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-06/0.55, allocations: 5.188 kB / 0.9589 GB, free: 4.359 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 (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 prepare postOptimizeDAE: time 4.221e-05/0.5501, allocations: 191.6 kB / 0.9591 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.5501, allocations: 5.25 kB / 0.9591 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.995e-05/0.5501, allocations: 8.719 kB / 0.9591 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.5501, allocations: 0 / 0.9591 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.5501, allocations: 0 / 0.9591 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-06/0.5501, allocations: 1.281 kB / 0.9591 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.827e-05/0.5502, allocations: 158.7 kB / 0.9592 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5503, allocations: 4.906 kB / 0.9593 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.337e-05/0.5503, allocations: 24.77 kB / 0.9593 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.5503, allocations: 1.188 kB / 0.9593 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.5503, allocations: 4 kB / 0.9593 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.5504, allocations: 1.219 kB / 0.9593 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5504, allocations: 3.984 kB / 0.9593 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.5506, allocations: 200.7 kB / 0.9595 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.5506, allocations: 82.8 kB / 0.9596 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.5507, allocations: 7.969 kB / 0.9596 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.5507, allocations: 15.08 kB / 0.9596 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.5508, allocations: 7.984 kB / 0.9596 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.5508, allocations: 5.844 kB / 0.9596 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.774e-05/0.5508, allocations: 78.97 kB / 0.9597 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5508, allocations: 2 kB / 0.9597 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002368/0.551, allocations: 5.625 kB / 0.9597 GB, free: 3.57 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0003909/0.5514, allocations: 0.7418 MB / 0.9604 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.5518, allocations: 107.5 kB / 0.9605 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5518, allocations: 0 / 0.9605 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.5519, allocations: 43.31 kB / 0.9605 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.5521, allocations: 3.672 kB / 0.9605 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.5525, allocations: 174.8 kB / 0.9607 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.633e-05/0.5526, allocations: 0.6746 MB / 0.9614 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.18e-05/0.5526, allocations: 5.359 kB / 0.9614 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.5526, allocations: 10.19 kB / 0.9614 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.5526, allocations: 0 / 0.9614 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.488/3.04, allocations: 1.211 MB / 0.9626 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/3.041, allocations: 215.7 kB / 0.9628 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.522/4.562, allocations: 3.938 kB / 0.9628 GB, free: 1.105 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Limiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Limiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches