Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.1.0-maint.11.x/package.mo", uses=false) 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.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add",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.003746/0.003746, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001091/0.001091, allocations: 194.6 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.308/1.308, 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.1.0-maint.11.x/package.mo): time 2.477/2.477, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 67.91 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6711/0.673, allocations: 159.1 MB / 1.22 GB, free: 2 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001702/0.6747, allocations: 0.7002 MB / 1.221 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008253/0.6755, allocations: 0.8001 MB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.6756, allocations: 4 kB / 1.222 GB, free: 496 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.6756, allocations: 3.938 kB / 1.222 GB, free: 492 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.709e-05/0.6757, allocations: 7.938 kB / 1.222 GB, free: 484 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.7e-05/0.6757, allocations: 7.984 kB / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.6758, allocations: 43.84 kB / 1.222 GB, free: 432 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.352e-05/0.6759, allocations: 16 kB / 1.222 GB, free: 416 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.676, allocations: 23.91 kB / 1.222 GB, free: 392 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.676, allocations: 15.92 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.676, allocations: 4 kB / 1.222 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-06/0.6761, allocations: 4 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.6761, allocations: 15.92 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.6761, allocations: 7.938 kB / 1.222 GB, free: 344 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.728e-05/0.6762, allocations: 43.86 kB / 1.222 GB, free: 300 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6762, allocations: 7.938 kB / 1.222 GB, free: 292 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6762, allocations: 4 kB / 1.222 GB, free: 288 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.6762, allocations: 0 / 1.222 GB, free: 288 kB / 0.9356 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.0005063/0.6767, allocations: 367 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.6768, allocations: 8.031 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.6768, allocations: 30.75 kB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.6768, allocations: 8.891 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.677, allocations: 172.4 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.677, allocations: 12.31 kB / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.677, allocations: 384 / 1.222 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.6773, allocations: 66.22 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.6773, allocations: 3.938 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.6773, allocations: 4 kB / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.6773, allocations: 0 / 1.223 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.6776, allocations: 67.92 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.6779, allocations: 272.9 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.6781, allocations: 58.42 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.6783, allocations: 48.91 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.6783, allocations: 0 / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.6783, allocations: 30.56 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.6783, allocations: 0 / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005182/0.6789, allocations: 129.6 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.6789, allocations: 59.34 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.679, allocations: 105.8 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.679, allocations: 25.7 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.6791, allocations: 92.08 kB / 1.223 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.6791, allocations: 11.91 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.6791, allocations: 17.7 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6793, allocations: 310.8 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.6794, allocations: 31.97 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000133/0.6796, allocations: 35.95 kB / 1.224 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.6798, allocations: 68.72 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6798, allocations: 4 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003126/0.6802, allocations: 101.6 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6802, allocations: 8 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6802, allocations: 0 / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.6802, allocations: 3.938 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.6803, allocations: 11.98 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.6803, allocations: 0 / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.365e-05/0.6804, allocations: 20.27 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.6804, allocations: 3.984 kB / 1.224 GB, free: 13.9 MB / 0.9512 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 7.831e-05/0.6805, allocations: 113.8 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.6805, allocations: 0 / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.6806, allocations: 15.89 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.6806, allocations: 0 / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6806, allocations: 0 / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.6806, allocations: 0 / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.6808, allocations: 173.6 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.6808, allocations: 3.984 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/0.6809, allocations: 15.98 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.6809, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.6809, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.6809, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6809, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.6813, allocations: 203.3 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.6813, allocations: 85.09 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.6813, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.6814, allocations: 11.98 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/0.6815, allocations: 3.938 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.6815, allocations: 4 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.068e-05/0.6815, allocations: 95.27 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6815, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001998/0.6817, allocations: 4 kB / 1.225 GB, free: 13.08 MB / 0.9512 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.0006581/0.6824, allocations: 0.7362 MB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003276/0.6827, allocations: 71.92 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.6828, allocations: 0 / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.6829, allocations: 31.97 kB / 1.225 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.6832, allocations: 13.7 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/0.6836, allocations: 154.9 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.6839, allocations: 0.6884 MB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.884e-05/0.6839, allocations: 0 / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.684, allocations: 19.38 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.684, allocations: 0 / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9246/1.609, allocations: 1.625 MB / 1.228 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.45/11.06, allocations: 8.531 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Add.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches