Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001825/0.001825, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.418/1.418, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.271/2.271, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 63.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.016, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002084/1.019, allocations: 0.7104 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007764/1.019, allocations: 0.798 MB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.614e-05/1.019, allocations: 3.938 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.095e-05/1.019, allocations: 5.688 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.107e-05/1.02, allocations: 9.594 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.514e-05/1.02, allocations: 17.08 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.935e-05/1.02, allocations: 43.83 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/1.02, allocations: 10.88 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.925e-05/1.02, allocations: 16.59 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.91e-05/1.02, allocations: 23.23 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/1.02, allocations: 3.281 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/1.02, allocations: 3.438 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/1.02, allocations: 7.625 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/1.02, allocations: 17.97 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.102e-05/1.02, allocations: 47.97 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.02, allocations: 0 / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/1.02, allocations: 0 / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.65e-06/1.02, allocations: 1.062 kB / 1.09 GB, free: 4.371 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.0004758/1.021, allocations: 361 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.021, allocations: 8.375 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/1.021, allocations: 7.062 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.259e-05/1.021, allocations: 170.5 kB / 1.091 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/1.021, allocations: 5.625 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/1.021, allocations: 2.062 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/1.021, allocations: 68.38 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/1.021, allocations: 1.312 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/1.021, allocations: 3.938 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.021, allocations: 1.062 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/1.022, allocations: 66.34 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/1.022, allocations: 269.4 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/1.022, allocations: 63.86 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/1.022, allocations: 48.39 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/1.022, allocations: 0 / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/1.022, allocations: 36.3 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/1.022, allocations: 1.125 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006394/1.023, allocations: 131.2 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/1.023, allocations: 52.53 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.309e-05/1.023, allocations: 107.5 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/1.023, allocations: 30.2 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.457e-05/1.023, allocations: 86.67 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/1.023, allocations: 13.89 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/1.023, allocations: 16.97 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.539e-05/1.023, allocations: 318.3 kB / 1.092 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/1.023, allocations: 30.73 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/1.024, allocations: 32.23 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/1.024, allocations: 70.56 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.024, allocations: 0 / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003436/1.024, allocations: 101.6 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.024, allocations: 5.422 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.024, allocations: 0 / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.024, allocations: 1.125 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/1.024, allocations: 15.89 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/1.025, allocations: 4 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.303e-05/1.025, allocations: 12.05 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/1.025, allocations: 0 / 1.092 GB, free: 2.598 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 7.281e-05/1.025, allocations: 117.3 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/1.025, allocations: 5.969 kB / 1.093 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/1.025, allocations: 10.27 kB / 1.093 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/1.025, allocations: 5.469 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.025, allocations: 0 / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/1.025, allocations: 82.75 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/1.025, allocations: 1.234 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/1.025, allocations: 10.98 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/1.025, allocations: 8.094 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004174/1.025, allocations: 190.6 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003839/1.026, allocations: 270.3 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001635/1.026, allocations: 37.75 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.362e-05/1.026, allocations: 95.25 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of Backend: time 3.51e-07/1.026, allocations: 1.062 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005088/1.027, allocations: 116.2 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004389/1.027, allocations: 0.5708 MB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of Templates: time 0.003292/1.03, allocations: 0.8457 MB / 1.095 GB, free: 1.18 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches