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.01534/0.01534, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.002679/0.002679, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.573/1.573, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.593/2.593, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 73.09 kB / 0.9509 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4039, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Log): time 0.002048/0.406, allocations: 0.6625 MB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000948/0.407, allocations: 0.8004 MB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.407, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.407, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.4071, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.4073, allocations: 15.97 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.293e-05/0.4074, allocations: 23.92 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.4075, allocations: 8 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.4076, allocations: 15.88 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.231e-05/0.4076, allocations: 3.984 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4076, allocations: 4 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.4077, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.4077, allocations: 7.938 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.4077, allocations: 11.98 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.065e-05/0.4078, allocations: 23.89 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4078, allocations: 0 / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4078, allocations: 4 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4078, allocations: 0 / 1.09 GB, free: 15.84 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.0004851/0.4083, allocations: 343.4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4084, allocations: 8.031 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.4084, allocations: 0.9375 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.4085, allocations: 164.4 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.4086, allocations: 384 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.4086, allocations: 4.359 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.4088, allocations: 54.23 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4088, allocations: 192 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.4088, allocations: 7.875 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4088, allocations: 3.938 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.409, allocations: 35.95 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.4093, allocations: 241 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.4095, allocations: 46.48 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.669e-05/0.4096, allocations: 20.91 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.4096, allocations: 4 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.4096, allocations: 34.5 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4096, allocations: 0 / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003475/0.41, allocations: 89.59 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.41, allocations: 51.41 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.4101, allocations: 97.84 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.4101, allocations: 29.7 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.4102, allocations: 80.14 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.4102, allocations: 7.953 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.732e-05/0.4102, allocations: 9.844 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4103, allocations: 322.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.807e-05/0.4104, allocations: 15.97 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.767e-05/0.4105, allocations: 19.92 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.4107, allocations: 36.83 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4107, allocations: 64 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.4109, allocations: 73.59 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4109, allocations: 7.938 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.4109, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.4109, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/0.411, allocations: 11.98 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.411, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.4111, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.4111, allocations: 8.016 kB / 1.091 GB, free: 13.82 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 7.594e-05/0.4112, allocations: 115.8 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.4112, allocations: 7.938 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.4114, allocations: 64.78 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4114, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4114, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4114, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.4116, allocations: 173.6 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4116, allocations: 4 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.4116, allocations: 7.938 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4117, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4117, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.4117, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4117, allocations: 3.984 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.4119, allocations: 167.4 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.412, allocations: 85.03 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.412, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.092e-05/0.412, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.4121, allocations: 7.984 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.4121, allocations: 192 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.4121, allocations: 83.27 kB / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4122, allocations: 0 / 1.092 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002014/0.4124, allocations: 8.031 kB / 1.092 GB, free: 13 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.0001471/0.4125, allocations: 99.78 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.4127, allocations: 35.95 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.4127, allocations: 0 / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.4128, allocations: 23.92 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.4131, allocations: 13.47 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002675/0.4134, allocations: 97.58 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.4136, allocations: 0.6768 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.284e-05/0.4137, allocations: 4 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.4137, allocations: 11.44 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.4137, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.00254/0.4163, allocations: 453.2 kB / 1.093 GB, free: 11.54 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