Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.001621, allocations: 113.5 kB / 16.42 MB, free: 6.441 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.001712/0.001712, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.1 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.36/2.36, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.89 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.928, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.003013/0.9311, allocations: 0.7067 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.9325, allocations: 0.8015 MB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.019e-05/0.9326, allocations: 1.062 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.9327, allocations: 3.938 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.386e-05/0.9328, allocations: 9.797 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.907e-05/0.9328, allocations: 14.77 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.933, allocations: 43.59 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.9331, allocations: 10.66 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.712e-05/0.9332, allocations: 20.88 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.9333, allocations: 19.16 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.9333, allocations: 3.406 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.9333, allocations: 3.562 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.9334, allocations: 7.516 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.9334, allocations: 21.39 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.9335, allocations: 51.36 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.9336, allocations: 0 / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9336, allocations: 0 / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.9336, allocations: 0 / 1.09 GB, free: 4.34 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.0005872/0.9342, allocations: 362.2 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.9342, allocations: 8.875 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.9343, allocations: 10.09 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.939e-05/0.9344, allocations: 170.2 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.9344, allocations: 2.703 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.9344, allocations: 5.438 kB / 1.091 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.9347, allocations: 64.89 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.9347, allocations: 192 / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.9347, allocations: 5 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.9347, allocations: 1.094 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003268/0.9351, allocations: 70.47 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.9355, allocations: 266.7 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.9357, allocations: 62.95 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.9359, allocations: 41.14 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.936, allocations: 0.5156 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.936, allocations: 32.2 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 4.288e-06/0.936, allocations: 0 / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005939/0.9366, allocations: 135.7 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.9366, allocations: 53.11 kB / 1.092 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.9367, allocations: 111.1 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.9367, allocations: 25.7 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.9368, allocations: 84.14 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.9368, allocations: 17.48 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.9368, allocations: 13.33 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.364e-05/0.9369, allocations: 321.2 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.937, allocations: 31.41 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.9372, allocations: 31.22 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.9375, allocations: 74.27 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9375, allocations: 0 / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003802/0.9379, allocations: 97.61 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.9379, allocations: 6.391 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.938, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.938, allocations: 1 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.9381, allocations: 16.25 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.9382, allocations: 4 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.9383, allocations: 11.61 kB / 1.092 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.9383, allocations: 5.031 kB / 1.092 GB, free: 2.566 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.121e-05/0.9384, allocations: 117.5 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.9384, allocations: 5.922 kB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.9385, allocations: 5.828 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.9385, allocations: 1.094 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.9385, allocations: 0.7969 kB / 1.093 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.9385, allocations: 86.23 kB / 1.093 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.9386, allocations: 5.781 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.9387, allocations: 15.69 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.9388, allocations: 6.859 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000554/0.9393, allocations: 188 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005397/0.9399, allocations: 264.8 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002227/0.9401, allocations: 45.44 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.745e-05/0.9402, allocations: 88.3 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of Backend: time 6.01e-07/0.9402, allocations: 0 / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007217/0.9409, allocations: 121.2 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of SimCode: time 0.000666/0.9416, allocations: 0.5678 MB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of Templates: time 0.005153/0.9468, allocations: 0.8535 MB / 1.095 GB, free: 1.152 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches