Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) 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.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",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.00429/0.00429, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001198/0.001198, allocations: 197.2 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.331/2.331, allocations: 437.1 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 67.91 kB / 1.018 GB, free: 9.809 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.6745, allocations: 151.6 MB / 1.166 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.0016/0.6762, allocations: 0.6614 MB / 1.167 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007979/0.677, allocations: 0.8078 MB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.677, allocations: 0 / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.677, allocations: 4 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.6771, allocations: 7.938 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001128/0.6772, allocations: 11.97 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.721e-05/0.6773, allocations: 31.92 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.036e-05/0.6774, allocations: 4 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.758e-05/0.6774, allocations: 7.938 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.575e-05/0.6775, allocations: 15.92 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.6775, allocations: 0 / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.467e-06/0.6775, allocations: 4 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.6775, allocations: 4 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.6775, allocations: 15.92 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 7.071e-05/0.6776, allocations: 27.83 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.6776, allocations: 0 / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6776, allocations: 0 / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.6776, allocations: 0 / 1.168 GB, free: 2.113 MB / 0.8887 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.0004023/0.678, allocations: 335.2 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.6781, allocations: 12.92 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.6781, allocations: 34.75 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.884e-05/0.6781, allocations: 4.938 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.6783, allocations: 176.3 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.6783, allocations: 384 / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.6783, allocations: 4.359 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.6785, allocations: 46.25 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.6785, allocations: 3.938 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.6785, allocations: 0 / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.6785, allocations: 0 / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.6787, allocations: 39.89 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.6789, allocations: 248.9 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.6791, allocations: 44.97 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/0.6792, allocations: 20.91 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.6792, allocations: 4 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.6792, allocations: 34.56 kB / 1.169 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6792, allocations: 3.938 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003142/0.6795, allocations: 81.58 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.6796, allocations: 55.41 kB / 1.169 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.31e-05/0.6797, allocations: 101.8 kB / 1.169 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.6797, allocations: 25.7 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.6797, allocations: 88.27 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.6798, allocations: 7.953 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.6798, allocations: 9.719 kB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.6799, allocations: 314.8 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.68, allocations: 19.97 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.924e-05/0.6801, allocations: 15.98 kB / 1.169 GB, free: 200 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.6802, allocations: 44.83 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6802, allocations: 3.938 kB / 1.17 GB, free: 148 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001816/0.6804, allocations: 69.61 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.6804, allocations: 4 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.6804, allocations: 0 / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-06/0.6805, allocations: 3.938 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.6805, allocations: 16.02 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.6806, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.6806, allocations: 7.984 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.6806, allocations: 0 / 1.17 GB, free: 40 kB / 0.8887 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.915e-05/0.6807, allocations: 109.8 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.6807, allocations: 8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.6809, allocations: 72.72 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6809, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.681, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.681, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.6811, allocations: 161.6 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6811, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.6812, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.6812, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.6812, allocations: 3.984 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6812, allocations: 0 / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.6812, allocations: 12.03 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.6815, allocations: 163.4 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.671e-05/0.6815, allocations: 85.06 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.6815, allocations: 3.938 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.044e-05/0.6816, allocations: 4 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.6816, allocations: 8.016 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.6816, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.869e-05/0.6817, allocations: 83.28 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6817, allocations: 0 / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002053/0.6819, allocations: 4 kB / 1.17 GB, free: 15.22 MB / 0.9044 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.0005289/0.6824, allocations: 0.6968 MB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.6826, allocations: 39.89 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6826, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.061e-05/0.6827, allocations: 19.98 kB / 1.171 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.683, allocations: 6.547 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.6833, allocations: 139.6 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.6836, allocations: 0.6729 MB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.741e-05/0.6836, allocations: 0 / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.6837, allocations: 15.42 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.6837, allocations: 0 / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5321/1.216, allocations: 1.276 MB / 1.173 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.84, allocations: 8.25 kB / 1.173 GB, free: 12.35 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches