Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001588/0.001589, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.383/1.383, 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 9.1.3-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.91 kB / 0.9516 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.942/0.9434, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.001909/0.9454, allocations: 0.6539 MB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008904/0.9463, allocations: 0.8023 MB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.11e-05/0.9464, allocations: 1.125 kB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.346e-05/0.9464, allocations: 3.938 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.488e-05/0.9465, allocations: 1.547 kB / 1.09 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.9466, allocations: 11.81 kB / 1.09 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.723e-05/0.9467, allocations: 24.2 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.9468, allocations: 8.312 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.9469, allocations: 9.094 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.9469, allocations: 18.56 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.9469, allocations: 1.219 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.947, allocations: 6.406 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.947, allocations: 2.422 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.947, allocations: 9.922 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.523e-05/0.9471, allocations: 17.64 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9471, allocations: 3.938 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9471, allocations: 0.6562 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.9471, allocations: 0.9688 kB / 1.09 GB, free: 4.441 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003799/0.9475, allocations: 336.2 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.9476, allocations: 8.875 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.9476, allocations: 7.734 kB / 1.091 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.957e-05/0.9477, allocations: 170.5 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.9477, allocations: 1.531 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.9477, allocations: 1.531 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.9479, allocations: 49.09 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.9479, allocations: 4.125 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.9479, allocations: 5 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.9479, allocations: 4 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.9481, allocations: 36.5 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.9484, allocations: 255.1 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.9485, allocations: 35.75 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.719e-05/0.9486, allocations: 27.94 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.9486, allocations: 1.094 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.9487, allocations: 32.39 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.054e-06/0.9487, allocations: 0 / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003395/0.949, allocations: 83.58 kB / 1.091 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.949, allocations: 56.53 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.908e-05/0.9491, allocations: 101.1 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.9491, allocations: 26.73 kB / 1.091 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.9492, allocations: 86.16 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.9492, allocations: 0.5156 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.9492, allocations: 16.58 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.9493, allocations: 312.8 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-05/0.9494, allocations: 22.17 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/0.9494, allocations: 15.34 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.9496, allocations: 40.47 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9496, allocations: 0.9688 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.9498, allocations: 71.17 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.9498, allocations: 9.312 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.9498, allocations: 0 / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.9498, allocations: 0.8438 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.9499, allocations: 13.89 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.9499, allocations: 3.984 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.693e-05/0.95, allocations: 5.766 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.95, allocations: 5.25 kB / 1.092 GB, free: 2.719 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 (2): * Single equations (assignments): 2 * 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 5.278e-05/0.9501, allocations: 111.6 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.9501, allocations: 10.3 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.9503, allocations: 74.52 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.9503, allocations: 0.9062 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9503, allocations: 0.6094 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.9503, allocations: 1.438 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.9505, allocations: 159.4 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9505, allocations: 0 / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.9505, allocations: 12.38 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.9506, allocations: 2.016 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.9506, allocations: 0 / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9506, allocations: 1.281 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.9506, allocations: 3.938 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.9508, allocations: 163 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.9508, allocations: 90.59 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.9508, allocations: 1.094 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.9509, allocations: 5.828 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.951, allocations: 3.375 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.951, allocations: 0 / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.621e-05/0.951, allocations: 80.45 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.7e-07/0.951, allocations: 0 / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002082/0.9512, allocations: 4 kB / 1.093 GB, free: 2.023 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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.0001364/0.9514, allocations: 109.9 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.9516, allocations: 35.3 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9516, allocations: 0 / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.9517, allocations: 20.45 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.952, allocations: 19.81 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.9523, allocations: 135 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.9524, allocations: 0.6754 MB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.9524, allocations: 9.328 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/0.9524, allocations: 1.219 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of Templates: time 0.00226/0.9547, allocations: 0.5362 MB / 1.094 GB, free: 1.039 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches