Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009543/0.0009543, allocations: 80.8 kB / 20.75 MB, free: 3.734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 165 kB / 24.17 MB, free: 324 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9719/0.9719, allocations: 177.1 MB / 204.6 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.89/1.89, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.956e-05, allocations: 6.312 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001275/0.001295, allocations: 0.7127 MB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007531/0.002048, allocations: 0.8484 MB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.336e-05/0.002081, allocations: 0.6562 kB / 0.7616 GB, free: 5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.002107, allocations: 4.562 kB / 0.7616 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.89e-05/0.002176, allocations: 15.56 kB / 0.7616 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.486e-05/0.002231, allocations: 11.98 kB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.041e-05/0.002301, allocations: 40.23 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.117e-05/0.002372, allocations: 11.98 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.002456, allocations: 23.16 kB / 0.7617 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.558e-05/0.002492, allocations: 18.03 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.002509, allocations: 4 kB / 0.7617 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.002516, allocations: 4 kB / 0.7617 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.974e-05/0.002535, allocations: 15.22 kB / 0.7618 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.002553, allocations: 5.859 kB / 0.7618 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.054e-05/0.002624, allocations: 30.09 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002625, allocations: 0 / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.42e-07/0.002626, allocations: 0 / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.002629, allocations: 1.594 kB / 0.7618 GB, free: 4.844 MB / 0.7136 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.0002722/0.002902, allocations: 248.9 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.002934, allocations: 16.67 kB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.002956, allocations: 0.9375 kB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.337e-05/0.003029, allocations: 114.3 kB / 0.7622 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.003039, allocations: 5.688 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.003049, allocations: 4.375 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.003152, allocations: 62.92 kB / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.003159, allocations: 2.078 kB / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.003165, allocations: 384 / 0.7622 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.00317, allocations: 4.375 kB / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.099e-05/0.003191, allocations: 19.91 kB / 0.7623 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.003375, allocations: 145.5 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.33e-05/0.003428, allocations: 35.22 kB / 0.7624 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.003445, allocations: 10.11 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-06/0.003452, allocations: 0 / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.003471, allocations: 34.56 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.003472, allocations: 0.75 kB / 0.7625 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.877e-05/0.00357, allocations: 45.66 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.003601, allocations: 56.7 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.477e-05/0.003655, allocations: 114.7 kB / 0.7627 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.003665, allocations: 26.48 kB / 0.7627 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.003701, allocations: 92.09 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.003717, allocations: 9.094 kB / 0.7628 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.00374, allocations: 13.72 kB / 0.7628 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/0.003809, allocations: 318.7 kB / 0.7631 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.00382, allocations: 5.219 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.003829, allocations: 0 / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.003855, allocations: 16.84 kB / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.003856, allocations: 0.75 kB / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.619e-05/0.003903, allocations: 41.62 kB / 0.7632 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.003914, allocations: 8.75 kB / 0.7632 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.003918, allocations: 4 kB / 0.7632 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.00393, allocations: 4.688 kB / 0.7632 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.003995, allocations: 11.98 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.003998, allocations: 2.125 kB / 0.7632 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.004018, allocations: 8 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.004023, allocations: 0 / 0.7632 GB, free: 3.25 MB / 0.7136 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 4.705e-05/0.00407, allocations: 109.8 kB / 0.7633 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.004081, allocations: 5.688 kB / 0.7633 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.844e-05/0.004099, allocations: 8 kB / 0.7633 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.004102, allocations: 7.938 kB / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.004104, allocations: 0 / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.004106, allocations: 336 / 0.7633 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.911e-05/0.004185, allocations: 77.12 kB / 0.7634 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004186, allocations: 4 kB / 0.7634 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.00421, allocations: 7.984 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004211, allocations: 4 kB / 0.7634 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-06/0.004215, allocations: 3.984 kB / 0.7634 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-07/0.004216, allocations: 0 / 0.7634 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.004218, allocations: 3.938 kB / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.999e-05/0.004288, allocations: 135.5 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.004294, allocations: 6.984 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.004302, allocations: 4 kB / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.512e-05/0.004337, allocations: 11.98 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.004361, allocations: 0 / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.004364, allocations: 3.938 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.418e-05/0.004378, allocations: 20.83 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004378, allocations: 0 / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001073/0.004486, allocations: 4 kB / 0.7636 GB, free: 2.797 MB / 0.7136 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 7.052e-05/0.004556, allocations: 85.86 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.918e-05/0.004615, allocations: 20.78 kB / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.004617, allocations: 0 / 0.7637 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.51e-05/0.004632, allocations: 10.27 kB / 0.7637 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.004761, allocations: 11.94 kB / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.004972, allocations: 133.8 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.999e-05/0.005002, allocations: 59.95 kB / 0.7639 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.591e-05/0.005018, allocations: 0.625 kB / 0.7639 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.005063, allocations: 56.02 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/0.005063, allocations: 0 / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of Templates: time 0.001906/0.006969, allocations: 0.6821 MB / 0.7646 GB, free: 1.727 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.979542857967317]