Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.008442/0.008442, allocations: 103.3 kB / 15.73 MB, free: 6.039 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.002038/0.002038, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 461.9 MB / 0.7348 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 71.89 kB / 1.054 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9787/0.9803, allocations: 157.4 MB / 1.207 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.002256/0.9826, allocations: 0.6569 MB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.9838, allocations: 0.8508 MB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.9838, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.637e-05/0.9839, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.984, allocations: 7.922 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.9842, allocations: 8 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.276e-05/0.9843, allocations: 23.92 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.9844, allocations: 8 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.9845, allocations: 15.92 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.9845, allocations: 4 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.9845, allocations: 11.98 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-06/0.9846, allocations: 0 / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.9846, allocations: 7.984 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.9846, allocations: 7.938 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.9847, allocations: 19.91 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.9847, allocations: 0 / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.316e-06/0.9848, allocations: 0 / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.9848, allocations: 3.938 kB / 1.209 GB, free: 11.86 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.0005961/0.9854, allocations: 341.7 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.9854, allocations: 12.03 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.9855, allocations: 30.75 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.9855, allocations: 4.938 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.9857, allocations: 164.4 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.9857, allocations: 384 / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.9857, allocations: 4.375 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.9859, allocations: 50.23 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.986, allocations: 7.875 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.986, allocations: 0 / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.986, allocations: 8 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.9862, allocations: 31.91 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.9866, allocations: 249 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.9868, allocations: 34.5 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.191e-05/0.9869, allocations: 28.91 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.9869, allocations: 0 / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.9869, allocations: 34.55 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.9869, allocations: 3.938 kB / 1.21 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003709/0.9873, allocations: 85.5 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.9873, allocations: 55.53 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.9874, allocations: 101.8 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.9875, allocations: 29.7 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.9875, allocations: 80.14 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.9875, allocations: 7.844 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.9876, allocations: 21.7 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9877, allocations: 310.8 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.358e-05/0.9878, allocations: 19.98 kB / 1.211 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.9879, allocations: 15.98 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.988, allocations: 40.75 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.988, allocations: 3.938 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001956/0.9882, allocations: 61.67 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.9883, allocations: 8.094 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.9883, allocations: 0 / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.9883, allocations: 8.172 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.9884, allocations: 4 kB / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.9884, allocations: 0 / 1.211 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.9885, allocations: 11.98 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.9885, allocations: 0 / 1.211 GB, free: 9.797 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 8.565e-05/0.9886, allocations: 113.8 kB / 1.211 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.623e-05/0.9886, allocations: 7.984 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.339e-05/0.9886, allocations: 3.125 kB / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.9886, allocations: 0 / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9886, allocations: 0 / 1.211 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9887, allocations: 7.984 kB / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.9888, allocations: 161.6 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9888, allocations: 0 / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.447e-05/0.9889, allocations: 15.92 kB / 1.211 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.9889, allocations: 0 / 1.211 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.9889, allocations: 4 kB / 1.211 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.9889, allocations: 4 kB / 1.211 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.9889, allocations: 3.938 kB / 1.211 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.9892, allocations: 163.4 kB / 1.211 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.9892, allocations: 77.11 kB / 1.211 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.9893, allocations: 7.938 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.9893, allocations: 7.984 kB / 1.211 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.9894, allocations: 8.031 kB / 1.211 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.9894, allocations: 4 kB / 1.211 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.9894, allocations: 75.28 kB / 1.211 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9894, allocations: 0 / 1.211 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002139/0.9897, allocations: 4 kB / 1.211 GB, free: 9.047 MB / 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.0005883/0.9903, allocations: 0.7045 MB / 1.212 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.9905, allocations: 31.97 kB / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9905, allocations: 0 / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-05/0.9906, allocations: 23.97 kB / 1.212 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.9909, allocations: 13.97 kB / 1.212 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.9914, allocations: 139.1 kB / 1.212 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.9917, allocations: 0.6768 MB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.881e-05/0.9917, allocations: 3.906 kB / 1.213 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.9918, allocations: 15.44 kB / 1.213 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of SimCode: time 5.1e-07/0.9918, allocations: 0 / 1.213 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/1.01, allocations: 1.273 MB / 1.214 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/8.363, allocations: 11.92 kB / 1.214 GB, free: 6.148 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches