Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.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.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs",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.001203/0.001203, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.191/2.191, allocations: 390.3 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5574/0.5588, allocations: 140.4 MB / 0.9498 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001676/0.5605, allocations: 0.6521 MB / 0.9504 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006684/0.5612, allocations: 0.8478 MB / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.118e-05/0.5613, allocations: 0 / 0.9512 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.5613, allocations: 5.25 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.5613, allocations: 3.938 kB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.5615, allocations: 10.81 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.534e-05/0.5615, allocations: 21.58 kB / 0.9513 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.5616, allocations: 11.39 kB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.5617, allocations: 10.89 kB / 0.9513 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.5617, allocations: 6.625 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.5617, allocations: 2.906 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.077e-06/0.5618, allocations: 1.312 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.5618, allocations: 9.391 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.5618, allocations: 9.344 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.024e-05/0.5619, allocations: 23.97 kB / 0.9513 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5619, allocations: 4 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.71e-07/0.5619, allocations: 1.562 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.5619, allocations: 0 / 0.9513 GB, free: 7.867 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.0003187/0.5622, allocations: 334.5 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.5623, allocations: 9.938 kB / 0.9517 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.037e-05/0.5623, allocations: 30.75 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.5623, allocations: 2.219 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.053e-05/0.5624, allocations: 177.5 kB / 0.9519 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.5624, allocations: 5.531 kB / 0.9519 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.5624, allocations: 1.469 kB / 0.9519 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.5626, allocations: 54.11 kB / 0.9519 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.5626, allocations: 3.938 kB / 0.9519 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.5626, allocations: 3.984 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5626, allocations: 1.312 kB / 0.9519 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.5628, allocations: 29.75 kB / 0.952 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.563, allocations: 248.9 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.5631, allocations: 43.09 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.263e-05/0.5632, allocations: 27.38 kB / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.5632, allocations: 0 / 0.9523 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.5632, allocations: 39.8 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.5633, allocations: 0 / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003076/0.5636, allocations: 76.19 kB / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.807e-05/0.5636, allocations: 57.2 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.517e-05/0.5636, allocations: 93.92 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.5637, allocations: 30.95 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.912e-05/0.5637, allocations: 88.2 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.5637, allocations: 8.906 kB / 0.9526 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.5637, allocations: 16.67 kB / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.783e-05/0.5638, allocations: 316 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.5638, allocations: 16.45 kB / 0.953 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.755e-05/0.5639, allocations: 18.36 kB / 0.953 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.5641, allocations: 43.09 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5641, allocations: 3.938 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001663/0.5642, allocations: 61.17 kB / 0.9531 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5643, allocations: 4.812 kB / 0.9531 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5643, allocations: 3.984 kB / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.5643, allocations: 0 / 0.9531 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.5644, allocations: 18.53 kB / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5644, allocations: 0 / 0.9531 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.5644, allocations: 8.109 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.5644, allocations: 1.281 kB / 0.9531 GB, free: 6 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.129e-05/0.5645, allocations: 115 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.5645, allocations: 5.094 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.5645, allocations: 4.406 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.5645, allocations: 0 / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5645, allocations: 5.172 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.5646, allocations: 4 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.807e-05/0.5647, allocations: 158.3 kB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.5647, allocations: 0 / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.5647, allocations: 13.67 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.5647, allocations: 1.531 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.5647, allocations: 0 / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.5647, allocations: 0 / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5647, allocations: 1.562 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.5649, allocations: 169.5 kB / 0.9536 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.565, allocations: 78.08 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.565, allocations: 1.406 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.5651, allocations: 8.297 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.5651, allocations: 0 / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.5651, allocations: 1.188 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.923e-05/0.5651, allocations: 82.97 kB / 0.9538 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5651, allocations: 4.031 kB / 0.9538 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002069/0.5653, allocations: 4.188 kB / 0.9538 GB, free: 5.316 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.0003444/0.5657, allocations: 0.695 MB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.5659, allocations: 41.34 kB / 0.9545 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5659, allocations: 3.938 kB / 0.9545 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.729e-05/0.566, allocations: 23.56 kB / 0.9545 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.5662, allocations: 4.062 kB / 0.9545 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.5666, allocations: 140.1 kB / 0.9546 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.739e-05/0.5667, allocations: 0.6804 MB / 0.9553 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.912e-05/0.5667, allocations: 1.156 kB / 0.9553 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.5667, allocations: 12.53 kB / 0.9553 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.5667, allocations: 0 / 0.9553 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2194/0.7861, allocations: 1.233 MB / 0.9565 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.043/7.829, allocations: 14.94 kB / 0.9565 GB, free: 3.012 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches