Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 106.6 kB / 16.41 MB, free: 6.496 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.001808/0.001808, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.655/1.655, 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.1-maint.10.0.x/package.mo): time 2.782/2.782, allocations: 437.1 MB / 0.7112 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9144/0.9166, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.002395/0.919, allocations: 0.7012 MB / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.9203, allocations: 0.8001 MB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.9204, allocations: 0 / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.9204, allocations: 7.938 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.546e-05/0.9206, allocations: 7.938 kB / 1.169 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.976e-05/0.9207, allocations: 7.984 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.9208, allocations: 43.91 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.921, allocations: 12 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.757e-05/0.9211, allocations: 23.86 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.762e-05/0.9211, allocations: 23.91 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.9211, allocations: 0 / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.197e-06/0.9212, allocations: 4 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.596e-05/0.9212, allocations: 15.92 kB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.9212, allocations: 19.92 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.9214, allocations: 31.88 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.9214, allocations: 7.938 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9214, allocations: 4 kB / 1.169 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.9214, allocations: 0 / 1.169 GB, free: 2.109 MB / 0.8887 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.0006759/0.9221, allocations: 367.8 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.9221, allocations: 8.922 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.9222, allocations: 12.88 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.9223, allocations: 164.3 kB / 1.17 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.9224, allocations: 4.375 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.9224, allocations: 4.375 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.9227, allocations: 70.16 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.9227, allocations: 192 / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.9227, allocations: 7.938 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.9227, allocations: 8 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000284/0.923, allocations: 59.92 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.9235, allocations: 272.9 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.9237, allocations: 66.41 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.9238, allocations: 35.36 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.9239, allocations: 4 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.9239, allocations: 34.56 kB / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.9239, allocations: 0 / 1.17 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005642/0.9245, allocations: 125.8 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.9246, allocations: 55.41 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.9247, allocations: 110.1 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.9247, allocations: 29.64 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.9248, allocations: 88.14 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.9248, allocations: 11.84 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.9248, allocations: 17.7 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.925, allocations: 314.8 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.9252, allocations: 35.97 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.9253, allocations: 36 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.9256, allocations: 68.78 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9256, allocations: 3.938 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000339/0.926, allocations: 97.62 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.926, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.926, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.926, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.9262, allocations: 23.86 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.9262, allocations: 4.062 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.683e-05/0.9263, allocations: 11.98 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.9263, allocations: 7.984 kB / 1.171 GB, free: 15.77 MB / 0.9044 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 9.949e-05/0.9264, allocations: 113.8 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.9264, allocations: 7.953 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.9265, allocations: 7.906 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.9265, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.9265, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.9265, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.9267, allocations: 165.6 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9267, allocations: 3.984 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.429e-05/0.9268, allocations: 23.92 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.9268, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.9268, allocations: 4 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.9269, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9269, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.9273, allocations: 199.4 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.9273, allocations: 85.05 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.9273, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.9275, allocations: 15.92 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.9275, allocations: 4 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.9275, allocations: 4 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.9276, allocations: 87.27 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9276, allocations: 0 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002284/0.9278, allocations: 12 kB / 1.172 GB, free: 14.95 MB / 0.9044 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.0001478/0.928, allocations: 95.25 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000357/0.9283, allocations: 67.92 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.9284, allocations: 0 / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.9285, allocations: 43.89 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.9288, allocations: 15.88 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.9292, allocations: 125.4 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.9296, allocations: 0.6807 MB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.564e-05/0.9297, allocations: 4 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.9297, allocations: 15.44 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.9297, allocations: 3.938 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.003517/0.9332, allocations: 0.6815 MB / 1.174 GB, free: 13.17 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches