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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001199/0.001199, allocations: 106.9 kB / 16.35 MB, free: 5.824 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.001463/0.001463, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.502/1.502, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 68.58 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.361, allocations: 140.4 MB / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002448/0.3635, allocations: 0.7016 MB / 0.9518 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3648, allocations: 0.8079 MB / 0.9526 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.3648, allocations: 4 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.3649, allocations: 3.938 kB / 0.9526 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.103e-05/0.365, allocations: 3.938 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.316e-05/0.3651, allocations: 11.98 kB / 0.9526 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.637e-05/0.3652, allocations: 47.84 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3653, allocations: 4 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.835e-05/0.3654, allocations: 23.92 kB / 0.9527 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.602e-05/0.3654, allocations: 15.92 kB / 0.9527 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.3654, allocations: 8 kB / 0.9527 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/0.3655, allocations: 4 kB / 0.9527 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.3655, allocations: 11.92 kB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.3655, allocations: 19.92 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.3657, allocations: 43.86 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3657, allocations: 0 / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3657, allocations: 0 / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3657, allocations: 0 / 0.9528 GB, free: 6.27 MB / 0.7325 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.0005509/0.3662, allocations: 367.2 kB / 0.9532 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3663, allocations: 8.031 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.3663, allocations: 4.938 kB / 0.9532 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3665, allocations: 176.2 kB / 0.9533 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3665, allocations: 4.375 kB / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.3665, allocations: 384 / 0.9533 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.3668, allocations: 72.27 kB / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3668, allocations: 192 / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3668, allocations: 11.94 kB / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3668, allocations: 0 / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002581/0.3671, allocations: 63.92 kB / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003743/0.3674, allocations: 257 kB / 0.9537 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.3676, allocations: 66.42 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.3678, allocations: 40.91 kB / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.3678, allocations: 0 / 0.9538 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.3679, allocations: 34.56 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3679, allocations: 0 / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004898/0.3684, allocations: 129.5 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.3684, allocations: 63.33 kB / 0.954 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.813e-05/0.3685, allocations: 113.8 kB / 0.9542 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.3685, allocations: 29.69 kB / 0.9542 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.3686, allocations: 84.14 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.3686, allocations: 15.89 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.3687, allocations: 9.719 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3688, allocations: 322.8 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.369, allocations: 27.97 kB / 0.9546 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.3691, allocations: 27.97 kB / 0.9547 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.3694, allocations: 72.78 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3694, allocations: 3.938 kB / 0.9547 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002802/0.3697, allocations: 97.81 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3697, allocations: 7.984 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3697, allocations: 7.984 kB / 0.9548 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3698, allocations: 3.984 kB / 0.9548 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.3699, allocations: 15.98 kB / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3699, allocations: 0 / 0.9549 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.37, allocations: 11.98 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.37, allocations: 3.938 kB / 0.9549 GB, free: 3.934 MB / 0.7325 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 0.0001054/0.3701, allocations: 117.8 kB / 0.955 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.3701, allocations: 4 kB / 0.955 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.3702, allocations: 11.89 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3702, allocations: 4 kB / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3702, allocations: 0 / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3702, allocations: 0 / 0.955 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3704, allocations: 169.5 kB / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3704, allocations: 0 / 0.9552 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.193e-05/0.3705, allocations: 15.97 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3705, allocations: 4 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3705, allocations: 4 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3705, allocations: 4 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3705, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.3708, allocations: 191.4 kB / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.3709, allocations: 81.05 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3709, allocations: 4 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.371, allocations: 19.97 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.3711, allocations: 4 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3711, allocations: 0 / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.629e-05/0.3711, allocations: 91.27 kB / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3711, allocations: 0 / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002115/0.3713, allocations: 4 kB / 0.9556 GB, free: 3.121 MB / 0.7325 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.0001602/0.3715, allocations: 99.25 kB / 0.9557 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.3718, allocations: 75.86 kB / 0.9557 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.3719, allocations: 0 / 0.9557 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.372, allocations: 39.89 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.3723, allocations: 18 kB / 0.9558 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.3726, allocations: 121.5 kB / 0.9559 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.3729, allocations: 0.6844 MB / 0.9566 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.266e-05/0.373, allocations: 7.984 kB / 0.9566 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.373, allocations: 11.44 kB / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.373, allocations: 0 / 0.9566 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of Templates: time 0.00279/0.3758, allocations: 0.6757 MB / 0.9572 GB, free: 1.344 MB / 0.7325 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 -s gbode -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