Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",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.007788/0.007788, allocations: 108.5 kB / 15.74 MB, free: 6.051 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.001882/0.001882, allocations: 193.2 kB / 16.67 MB, free: 5.98 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.824/2.824, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.91 kB / 1.054 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3678, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002392/0.3702, allocations: 0.6945 MB / 1.208 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3716, allocations: 0.8 MB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.845e-05/0.3717, allocations: 0 / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.257e-05/0.3717, allocations: 11.86 kB / 1.209 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.639e-05/0.3718, allocations: 3.938 kB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.18e-05/0.3719, allocations: 11.98 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.372, allocations: 47.84 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001386/0.3722, allocations: 15.98 kB / 1.209 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.3723, allocations: 11.98 kB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.3724, allocations: 23.92 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3724, allocations: 4 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.3724, allocations: 4 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.3724, allocations: 11.92 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.856e-05/0.3725, allocations: 11.94 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.3726, allocations: 47.73 kB / 1.209 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.3726, allocations: 4 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.895e-06/0.3726, allocations: 4 kB / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3726, allocations: 0 / 1.209 GB, free: 8.387 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006067/0.3732, allocations: 367.6 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3733, allocations: 8.625 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.3734, allocations: 34.75 kB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.3734, allocations: 4.938 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.3735, allocations: 176.2 kB / 1.21 GB, free: 7.711 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.3736, allocations: 8.375 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.3736, allocations: 384 / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.3738, allocations: 70.22 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3739, allocations: 3.938 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3739, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3739, allocations: 0 / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.3742, allocations: 71.86 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.3746, allocations: 260.9 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.3748, allocations: 58.53 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.375, allocations: 48.91 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.375, allocations: 0 / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.375, allocations: 38.5 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.3751, allocations: 0 / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005288/0.3756, allocations: 129.6 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.3756, allocations: 51.41 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.891e-05/0.3758, allocations: 109.8 kB / 1.21 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3758, allocations: 25.7 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.3758, allocations: 88.14 kB / 1.21 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.3759, allocations: 3.906 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.3759, allocations: 17.72 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.376, allocations: 314.8 kB / 1.211 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3762, allocations: 35.97 kB / 1.211 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.3763, allocations: 39.83 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.3766, allocations: 68.73 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3766, allocations: 4 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002995/0.3769, allocations: 105.5 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3769, allocations: 5.562 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3769, allocations: 0 / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3769, allocations: 0 / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3771, allocations: 19.98 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3771, allocations: 0 / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.059e-05/0.3772, allocations: 11.98 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.3772, allocations: 4 kB / 1.211 GB, free: 6.012 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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 9.497e-05/0.3773, allocations: 113.7 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.3773, allocations: 7.984 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.3774, allocations: 7.906 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3774, allocations: 0 / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3774, allocations: 0 / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3774, allocations: 0 / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.3776, allocations: 173.6 kB / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3776, allocations: 0 / 1.211 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3777, allocations: 23.97 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3777, allocations: 0 / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3777, allocations: 0 / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3777, allocations: 0 / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3777, allocations: 0 / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.3781, allocations: 203.7 kB / 1.212 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.3782, allocations: 81.05 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3782, allocations: 3.984 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.3783, allocations: 11.98 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.3783, allocations: 7.969 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3783, allocations: 4 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.3784, allocations: 91.58 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3784, allocations: 0 / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002224/0.3786, allocations: 8 kB / 1.212 GB, free: 5.188 MB / 0.9669 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 (3): * Single equations (assignments): 3 * 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.000725/0.3794, allocations: 0.7318 MB / 1.213 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.3797, allocations: 67.86 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3797, allocations: 0 / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.3798, allocations: 39.97 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3802, allocations: 17.98 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.3808, allocations: 166.9 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3811, allocations: 0.6807 MB / 1.213 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.3812, allocations: 3.984 kB / 1.213 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.3812, allocations: 11.44 kB / 1.213 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.3812, allocations: 0 / 1.213 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.4017, allocations: 1.62 MB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.888, allocations: 13.81 kB / 1.215 GB, free: 1.848 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches