Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001984/0.001984, allocations: 196 kB / 16.53 MB, free: 6.664 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.519/1.519, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.078/3.078, allocations: 472.6 MB / 0.7451 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 66.7 kB / 0.9121 GB, free: 33.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4422, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002924/0.4452, allocations: 0.6964 MB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.4465, allocations: 0.8061 MB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.4466, allocations: 0 / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.4466, allocations: 7.875 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.576e-05/0.4468, allocations: 3.938 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.021e-05/0.4468, allocations: 15.98 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.447, allocations: 43.8 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.4472, allocations: 19.97 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.4473, allocations: 19.92 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.205e-05/0.4473, allocations: 19.92 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.4474, allocations: 4 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.4474, allocations: 4 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.4474, allocations: 7.984 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.778e-05/0.4475, allocations: 15.88 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.4476, allocations: 39.88 kB / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/0.4476, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.419e-06/0.4476, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.4476, allocations: 0 / 1.07 GB, free: 8.66 MB / 0.8262 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.00074/0.4484, allocations: 367.7 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.4485, allocations: 8.031 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.4485, allocations: 8.844 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.4487, allocations: 172.3 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4487, allocations: 384 / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.4487, allocations: 4.312 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003004/0.4491, allocations: 82.19 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4491, allocations: 192 / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4491, allocations: 3.938 kB / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.4491, allocations: 0 / 1.071 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002807/0.4494, allocations: 63.92 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.4499, allocations: 264.9 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.4501, allocations: 62.41 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.4502, allocations: 44.91 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.4503, allocations: 0 / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4503, allocations: 38.56 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4503, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005421/0.4508, allocations: 121.6 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.4509, allocations: 55.34 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.451, allocations: 117.8 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.451, allocations: 25.7 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.4511, allocations: 92.03 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.4511, allocations: 7.906 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.4512, allocations: 13.72 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4513, allocations: 318.8 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.4514, allocations: 31.97 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.4516, allocations: 35.91 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.4518, allocations: 68.72 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4519, allocations: 7.938 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003085/0.4522, allocations: 97.56 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.4522, allocations: 8 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4522, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.4522, allocations: 3.984 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.4524, allocations: 15.98 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4524, allocations: 0 / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.4525, allocations: 7.984 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.4525, allocations: 8 kB / 1.072 GB, free: 6.32 MB / 0.8262 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 8.697e-05/0.4526, allocations: 116.1 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.4526, allocations: 7.906 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.4527, allocations: 7.891 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4527, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4527, allocations: 0 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4527, allocations: 336 / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.4529, allocations: 169.6 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4529, allocations: 4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.467e-05/0.453, allocations: 19.98 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.453, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.453, allocations: 7.969 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.453, allocations: 0 / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.453, allocations: 0 / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.4534, allocations: 203.4 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.4535, allocations: 84.95 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.4535, allocations: 0 / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.4536, allocations: 15.97 kB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.4537, allocations: 4 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.4537, allocations: 0 / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.281e-05/0.4538, allocations: 87.27 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4538, allocations: 0 / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002327/0.454, allocations: 16 kB / 1.073 GB, free: 5.492 MB / 0.8262 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.0002346/0.4542, allocations: 95.25 kB / 1.073 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003913/0.4546, allocations: 71.86 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4547, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.4548, allocations: 39.91 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.4552, allocations: 17.64 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000467/0.4557, allocations: 125.5 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.4561, allocations: 0.6845 MB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.792e-05/0.4561, allocations: 4 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.4562, allocations: 7.438 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4562, allocations: 0 / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of Templates: time 0.003714/0.4599, allocations: 0.6833 MB / 1.074 GB, free: 3.719 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches