Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Obsolete.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Obsolete.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.001633/0.001633, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001883/0.001883, allocations: 196.8 kB / 17.3 MB, free: 5.516 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 64.09 kB / 0.8707 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2604, allocations: 151.7 MB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001987/0.2624, allocations: 0.7221 MB / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007426/0.2632, allocations: 0.8001 MB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.2632, allocations: 4 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.2633, allocations: 3.938 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.467e-05/0.2633, allocations: 7.875 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.548e-05/0.2634, allocations: 19.97 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.2635, allocations: 43.86 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2636, allocations: 11.97 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.104e-05/0.2636, allocations: 27.86 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.869e-05/0.2637, allocations: 15.92 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.2637, allocations: 8 kB / 1.02 GB, free: 8.129 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-06/0.2637, allocations: 4 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.2637, allocations: 11.98 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.2638, allocations: 19.88 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.272e-05/0.2639, allocations: 43.8 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2639, allocations: 0 / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2639, allocations: 0 / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2639, allocations: 0 / 1.021 GB, free: 8.051 MB / 0.795 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.0004779/0.2644, allocations: 379.2 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.2644, allocations: 12.03 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.2644, allocations: 4.844 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2646, allocations: 176.2 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.2646, allocations: 384 / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.2646, allocations: 4.375 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.2648, allocations: 74.14 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.2648, allocations: 192 / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2648, allocations: 7.938 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2649, allocations: 4 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.2651, allocations: 59.94 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.2655, allocations: 269 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.2657, allocations: 62.42 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.2658, allocations: 44.89 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.2659, allocations: 0 / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.2659, allocations: 34.56 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2659, allocations: 0 / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004671/0.2664, allocations: 133.5 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.2664, allocations: 51.41 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.2665, allocations: 113.8 kB / 1.022 GB, free: 6.457 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.2665, allocations: 29.7 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.2666, allocations: 96.08 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.2666, allocations: 7.844 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.2666, allocations: 13.72 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.144e-05/0.2667, allocations: 318.8 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2668, allocations: 27.97 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.267, allocations: 35.95 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.2672, allocations: 76.72 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2672, allocations: 384 / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002787/0.2675, allocations: 97.53 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2675, allocations: 4 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2676, allocations: 11.94 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2676, allocations: 3.938 kB / 1.023 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.2677, allocations: 19.92 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2677, allocations: 0 / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/0.2678, allocations: 15.98 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2678, allocations: 0 / 1.023 GB, free: 5.68 MB / 0.795 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.951e-05/0.2679, allocations: 117.8 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.2679, allocations: 4 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.2679, allocations: 7.906 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.268, allocations: 4 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.268, allocations: 0 / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.268, allocations: 0 / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.2681, allocations: 173.6 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2681, allocations: 0 / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.104e-05/0.2682, allocations: 15.98 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2683, allocations: 0 / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.2683, allocations: 0 / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2683, allocations: 4 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2683, allocations: 0 / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.2686, allocations: 203.2 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.2686, allocations: 81.11 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.2687, allocations: 0 / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2688, allocations: 15.98 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.2688, allocations: 8.359 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.2688, allocations: 0 / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.2689, allocations: 87.28 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2689, allocations: 0 / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002318/0.2691, allocations: 11.91 kB / 1.023 GB, free: 4.863 MB / 0.795 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 9.891e-05/0.2692, allocations: 99.23 kB / 1.023 GB, free: 4.754 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.2695, allocations: 75.91 kB / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2696, allocations: 0 / 1.023 GB, free: 4.68 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.2698, allocations: 35.91 kB / 1.023 GB, free: 4.645 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.27, allocations: 15.03 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.2703, allocations: 131.1 kB / 1.024 GB, free: 4.48 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.2706, allocations: 0.6845 MB / 1.024 GB, free: 3.77 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.07e-05/0.2706, allocations: 7.922 kB / 1.024 GB, free: 3.762 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.2707, allocations: 11.44 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.2707, allocations: 0 / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of Templates: time 0.00261/0.2733, allocations: 0.6896 MB / 1.025 GB, free: 3.066 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches