Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 114.8 kB / 16.42 MB, free: 6.469 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.001213/0.001213, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 67.89 kB / 0.9516 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9564/0.958, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.002237/0.9603, allocations: 0.7075 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.9613, allocations: 0.8022 MB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.9614, allocations: 0 / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.9614, allocations: 4.547 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.9615, allocations: 6.797 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.111e-05/0.9616, allocations: 9.953 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.9617, allocations: 50.7 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.9619, allocations: 6.641 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.796e-05/0.9619, allocations: 24.83 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.962, allocations: 18.62 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.962, allocations: 4.312 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.9621, allocations: 3.5 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.9621, allocations: 7.406 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.9621, allocations: 22.16 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.9623, allocations: 45.98 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.9623, allocations: 3.938 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9623, allocations: 0.5938 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.9623, allocations: 0 / 1.09 GB, free: 4.34 MB / 0.8575 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.0005657/0.9629, allocations: 361.4 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.9629, allocations: 8.875 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.963, allocations: 7.562 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.9631, allocations: 166.3 kB / 1.091 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.9631, allocations: 10.33 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.9631, allocations: 1.438 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.9634, allocations: 72.44 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9634, allocations: 1.344 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.9634, allocations: 3.938 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.9635, allocations: 1.062 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.9638, allocations: 66.55 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.9642, allocations: 269.9 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.9644, allocations: 63.48 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.9646, allocations: 48.41 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.9646, allocations: 0.6562 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.9647, allocations: 31.88 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.9647, allocations: 0 / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005927/0.9653, allocations: 128 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.9653, allocations: 52.92 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.092e-05/0.9654, allocations: 106.6 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.9654, allocations: 26.55 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.9655, allocations: 87.11 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.9655, allocations: 14.39 kB / 1.092 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.9655, allocations: 20.39 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.033e-05/0.9656, allocations: 314 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.9658, allocations: 35.39 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.9659, allocations: 31.06 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.9663, allocations: 66.72 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9663, allocations: 4 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003511/0.9666, allocations: 98.08 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.9667, allocations: 6.641 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9667, allocations: 4 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.9667, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.9668, allocations: 19.09 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.9668, allocations: 5.906 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.431e-05/0.9669, allocations: 14.02 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.9669, allocations: 1.734 kB / 1.092 GB, free: 2.562 MB / 0.8575 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 6.904e-05/0.967, allocations: 112.5 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.9671, allocations: 5.875 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.9671, allocations: 14.36 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.9671, allocations: 1.125 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.9671, allocations: 0 / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.989e-05/0.9671, allocations: 82.83 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.9671, allocations: 1.781 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.9673, allocations: 11.83 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.9673, allocations: 11.16 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000433/0.9678, allocations: 179.4 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003975/0.9682, allocations: 285.4 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001828/0.9684, allocations: 33.09 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.817e-05/0.9684, allocations: 92.61 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of Backend: time 4.01e-07/0.9684, allocations: 0 / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.969, allocations: 112 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0005501/0.9696, allocations: 0.5679 MB / 1.094 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of Templates: time 0.003921/0.9735, allocations: 0.8534 MB / 1.095 GB, free: 1.152 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches