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.01062/0.01062, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001807/0.001807, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.316/2.316, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 63.91 kB / 0.9509 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108/1.11, allocations: 140.4 MB / 1.088 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.00207/1.112, allocations: 0.6656 MB / 1.089 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009902/1.113, allocations: 0.7997 MB / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/1.113, allocations: 0 / 1.089 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/1.113, allocations: 4.641 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-05/1.113, allocations: 1.344 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001471/1.113, allocations: 11.95 kB / 1.089 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.913e-05/1.113, allocations: 24.39 kB / 1.089 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/1.113, allocations: 12.48 kB / 1.089 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/1.113, allocations: 9.141 kB / 1.089 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/1.114, allocations: 17.53 kB / 1.089 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/1.114, allocations: 2.281 kB / 1.089 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/1.114, allocations: 2.25 kB / 1.089 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/1.114, allocations: 0.5625 kB / 1.089 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/1.114, allocations: 11.45 kB / 1.09 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.784e-05/1.114, allocations: 17.19 kB / 1.09 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.114, allocations: 3.938 kB / 1.09 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.813e-06/1.114, allocations: 4 kB / 1.09 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.069e-05/1.114, allocations: 1.094 kB / 1.09 GB, free: 4.672 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.0004221/1.114, allocations: 332.4 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.114, allocations: 10.16 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/1.114, allocations: 6.422 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.425e-05/1.114, allocations: 164.8 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.114, allocations: 1.438 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/1.114, allocations: 5.625 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/1.115, allocations: 48.34 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/1.115, allocations: 2.219 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/1.115, allocations: 7.938 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.115, allocations: 0 / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/1.115, allocations: 37.08 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/1.115, allocations: 249.5 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/1.115, allocations: 44.98 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/1.115, allocations: 19.7 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/1.115, allocations: 1.031 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/1.115, allocations: 36.33 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.115, allocations: 0 / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003644/1.116, allocations: 83.55 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/1.116, allocations: 52.55 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.708e-05/1.116, allocations: 105.2 kB / 1.091 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/1.116, allocations: 25.7 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/1.116, allocations: 86.61 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/1.116, allocations: 13.38 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/1.116, allocations: 16.42 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.072e-05/1.116, allocations: 313.2 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/1.116, allocations: 17.36 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.225e-05/1.116, allocations: 14.88 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/1.116, allocations: 41 kB / 1.091 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/1.116, allocations: 4.062 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001831/1.117, allocations: 76.23 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/1.117, allocations: 4.969 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/1.117, allocations: 0 / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.117, allocations: 1.531 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.921e-05/1.117, allocations: 16.77 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/1.117, allocations: 0 / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/1.117, allocations: 5.859 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/1.117, allocations: 5.156 kB / 1.091 GB, free: 2.945 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.992e-05/1.117, allocations: 112.8 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/1.117, allocations: 1.609 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/1.117, allocations: 75.64 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.117, allocations: 0 / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/1.117, allocations: 0.5625 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.117, allocations: 5.438 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/1.117, allocations: 159.1 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.117, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/1.117, allocations: 9.109 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.117, allocations: 1.25 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/1.117, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.117, allocations: 1.859 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.117, allocations: 0 / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/1.118, allocations: 170.5 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/1.118, allocations: 82.62 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/1.118, allocations: 1.156 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/1.118, allocations: 6.156 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/1.118, allocations: 2.891 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/1.118, allocations: 0.5156 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.485e-05/1.118, allocations: 80.23 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.118, allocations: 4.031 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002069/1.118, allocations: 7.906 kB / 1.092 GB, free: 2.254 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.0001383/1.118, allocations: 99.19 kB / 1.092 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002141/1.118, allocations: 36.02 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.118, allocations: 0 / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.649e-05/1.119, allocations: 25.08 kB / 1.092 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/1.119, allocations: 15.52 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/1.119, allocations: 100.6 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/1.119, allocations: 0.6761 MB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.076e-05/1.119, allocations: 0.6562 kB / 1.093 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/1.119, allocations: 9 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of SimCode: time 1.343e-06/1.119, allocations: 0 / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of Templates: time 0.002761/1.122, allocations: 459.3 kB / 1.093 GB, free: 1.266 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/jenkins/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