Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 107.9 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001953, allocations: 191.7 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.747/2.747, allocations: 469.8 MB / 0.749 GB, free: 3.012 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 67.89 kB / 1.073 GB, free: 64 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9422/0.9449, allocations: 159.1 MB / 1.229 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001938/0.9469, allocations: 0.6694 MB / 1.229 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009816/0.9479, allocations: 0.8079 MB / 1.23 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.758e-05/0.9479, allocations: 0 / 1.23 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.741e-05/0.948, allocations: 3.938 kB / 1.23 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.948, allocations: 0 / 1.23 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.9482, allocations: 19.92 kB / 1.23 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.195e-05/0.9482, allocations: 19.98 kB / 1.23 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.9483, allocations: 4 kB / 1.23 GB, free: 3.254 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.359e-05/0.9484, allocations: 23.84 kB / 1.23 GB, free: 3.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.724e-05/0.9484, allocations: 4 kB / 1.23 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.9485, allocations: 4 kB / 1.23 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.9485, allocations: 0 / 1.23 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.913e-05/0.9485, allocations: 11.92 kB / 1.23 GB, free: 3.211 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.9485, allocations: 4 kB / 1.23 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.39e-05/0.9486, allocations: 21.73 kB / 1.23 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.9486, allocations: 4 kB / 1.23 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.232e-06/0.9486, allocations: 0 / 1.23 GB, free: 3.184 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.9486, allocations: 4 kB / 1.23 GB, free: 3.18 MB / 0.9356 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.0004287/0.9491, allocations: 335.5 kB / 1.231 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.9491, allocations: 8.031 kB / 1.231 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.131e-05/0.9491, allocations: 30.75 kB / 1.231 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/0.9492, allocations: 8.891 kB / 1.231 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.9493, allocations: 168.3 kB / 1.231 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-06/0.9493, allocations: 4.375 kB / 1.231 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.9493, allocations: 4.375 kB / 1.231 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.9495, allocations: 54.16 kB / 1.231 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.9495, allocations: 3.938 kB / 1.231 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.9495, allocations: 4 kB / 1.231 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.9495, allocations: 0 / 1.231 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.9497, allocations: 27.97 kB / 1.231 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.95, allocations: 257 kB / 1.231 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.9502, allocations: 46.36 kB / 1.231 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.9503, allocations: 28.84 kB / 1.231 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.9503, allocations: 0 / 1.231 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.9503, allocations: 30.56 kB / 1.231 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.9503, allocations: 4 kB / 1.231 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003642/0.9507, allocations: 81.64 kB / 1.231 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.9507, allocations: 51.41 kB / 1.231 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.9508, allocations: 105.8 kB / 1.231 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.9508, allocations: 25.7 kB / 1.231 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.9509, allocations: 84.22 kB / 1.232 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.9509, allocations: 7.953 kB / 1.232 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.951, allocations: 21.66 kB / 1.232 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.9511, allocations: 314.8 kB / 1.232 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.9512, allocations: 15.98 kB / 1.232 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.9513, allocations: 15.98 kB / 1.232 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.9514, allocations: 36.89 kB / 1.232 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9514, allocations: 3.938 kB / 1.232 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001893/0.9516, allocations: 65.66 kB / 1.232 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.9516, allocations: 4 kB / 1.232 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.9517, allocations: 4 kB / 1.232 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.9517, allocations: 4 kB / 1.232 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.9518, allocations: 7.984 kB / 1.232 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.9518, allocations: 7.969 kB / 1.232 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.9518, allocations: 11.98 kB / 1.232 GB, free: 1.098 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.9518, allocations: 0 / 1.232 GB, free: 1.098 MB / 0.9356 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 7.857e-05/0.9519, allocations: 113.8 kB / 1.232 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.081e-05/0.952, allocations: 0 / 1.232 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.9522, allocations: 72.78 kB / 1.232 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9522, allocations: 4.031 kB / 1.232 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.9522, allocations: 0 / 1.232 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.9522, allocations: 0 / 1.232 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.9524, allocations: 161.6 kB / 1.232 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9524, allocations: 0 / 1.232 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.729e-05/0.9524, allocations: 11.98 kB / 1.232 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.9525, allocations: 0 / 1.232 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.9525, allocations: 0 / 1.232 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.9525, allocations: 0 / 1.232 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.9525, allocations: 7.875 kB / 1.232 GB, free: 0.668 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.9527, allocations: 167.4 kB / 1.233 GB, free: 500 kB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.9528, allocations: 81.11 kB / 1.233 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.9528, allocations: 0 / 1.233 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.9529, allocations: 7.984 kB / 1.233 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.9529, allocations: 7.938 kB / 1.233 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.9529, allocations: 0 / 1.233 GB, free: 384 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.929e-05/0.953, allocations: 83.5 kB / 1.233 GB, free: 300 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.953, allocations: 0 / 1.233 GB, free: 300 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000205/0.9532, allocations: 4 kB / 1.233 GB, free: 296 kB / 0.9356 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.0005824/0.9538, allocations: 0.7012 MB / 1.233 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.954, allocations: 39.97 kB / 1.233 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.954, allocations: 0 / 1.233 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.891e-05/0.9541, allocations: 11.98 kB / 1.233 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.9544, allocations: 7.984 kB / 1.233 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.9548, allocations: 155.3 kB / 1.234 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.9551, allocations: 0.6769 MB / 1.234 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.9551, allocations: 3.906 kB / 1.234 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.9552, allocations: 11.44 kB / 1.234 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.9552, allocations: 0 / 1.234 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.9779, allocations: 1.27 MB / 1.236 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.776, allocations: 0.5938 kB / 1.236 GB, free: 13.41 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.990620828932151]