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.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.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.0009029/0.0009029, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009622/0.0009621, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.3 MB / 240 MB, free: 5.27 MB / 190.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.76/2.76, allocations: 437.7 MB / 0.7117 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003782, allocations: 12 kB / 0.8722 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.8222, allocations: 153.8 MB / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.0009631/0.8233, allocations: 434.2 kB / 1.023 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.8244, allocations: 0.7923 MB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.8244, allocations: 4 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.8244, allocations: 3.938 kB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.413e-05/0.8245, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.465e-05/0.8246, allocations: 7.984 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.727e-05/0.8247, allocations: 47.78 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.8248, allocations: 8 kB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.8249, allocations: 15.92 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.8e-05/0.825, allocations: 19.92 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.825, allocations: 0 / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.825, allocations: 4 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.825, allocations: 7.984 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.8251, allocations: 29.64 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.464e-05/0.8251, allocations: 31.92 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.8251, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8251, allocations: 3.938 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.8252, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 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.0005032/0.8257, allocations: 369.2 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.8257, allocations: 8.031 kB / 1.024 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.8257, allocations: 7.906 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.8259, allocations: 167.1 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.8259, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.8259, allocations: 0 / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.8262, allocations: 85.61 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.8262, allocations: 0 / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.8262, allocations: 4 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.8262, allocations: 3.984 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.8266, allocations: 91.86 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.827, allocations: 268.8 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.8272, allocations: 62.55 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.8273, allocations: 52.91 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.8274, allocations: 4 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.8274, allocations: 34.56 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 3.406e-06/0.8274, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005027/0.8279, allocations: 161.5 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.828, allocations: 51.41 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/0.828, allocations: 113.8 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.8281, allocations: 25.7 kB / 1.025 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.8281, allocations: 84.14 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.8282, allocations: 15.75 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.13e-06/0.8282, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8283, allocations: 322.8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.8284, allocations: 43.97 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.8286, allocations: 39.97 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.8287, allocations: 43.95 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8287, allocations: 3.953 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002887/0.829, allocations: 121.6 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.829, allocations: 4 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.829, allocations: 0 / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8291, allocations: 4 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.8292, allocations: 19.98 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.8292, allocations: 7.984 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.8293, allocations: 11.98 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.8293, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.573e-05/0.8294, allocations: 113.8 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.8294, allocations: 11.86 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.8295, allocations: 11.91 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.8295, allocations: 3.938 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.8295, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8295, allocations: 0 / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.8297, allocations: 165.6 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8297, allocations: 0 / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.585e-05/0.8298, allocations: 27.88 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8298, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.8298, allocations: 8 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8298, allocations: 4 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.8298, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.8302, allocations: 211.8 kB / 1.026 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.8303, allocations: 81.02 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.8303, allocations: 3.953 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.8304, allocations: 23.98 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.8305, allocations: 16.02 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.8305, allocations: 0 / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.8305, allocations: 91.56 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8305, allocations: 0 / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002121/0.8307, allocations: 8 kB / 1.027 GB, free: 11.33 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002016/0.831, allocations: 103.2 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.8313, allocations: 95.8 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8313, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.8314, allocations: 47.97 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.8318, allocations: 8 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.8321, allocations: 128.7 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.8325, allocations: 0.6809 MB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.604e-05/0.8325, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.8325, allocations: 7.438 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of SimCode: time 1.873e-06/0.8326, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.002811/0.8354, allocations: 0.5271 MB / 1.028 GB, free: 9.684 MB / 0.7794 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 -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/jenkins/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