Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 103.9 kB / 16.41 MB, free: 6.016 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.001594/0.001594, allocations: 192.3 kB / 17.34 MB, free: 5.609 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.469/1.469, 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.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 59.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.002131/1.02, allocations: 0.7124 MB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00111/1.021, allocations: 0.8059 MB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.378e-05/1.021, allocations: 1.312 kB / 1.09 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.054e-05/1.021, allocations: 4.594 kB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.624e-05/1.021, allocations: 9.672 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000116/1.021, allocations: 14.19 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/1.021, allocations: 38.89 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/1.022, allocations: 10.17 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.73e-05/1.022, allocations: 21.33 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.792e-05/1.022, allocations: 27.09 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/1.022, allocations: 4.562 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/1.022, allocations: 2.969 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/1.022, allocations: 7.125 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/1.022, allocations: 22.22 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/1.022, allocations: 36 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.022, allocations: 0 / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.124e-06/1.022, allocations: 0 / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.254e-06/1.022, allocations: 2.188 kB / 1.09 GB, free: 4.348 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.0005477/1.023, allocations: 363 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.023, allocations: 9.969 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/1.023, allocations: 6.531 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/1.023, allocations: 174.8 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/1.023, allocations: 1.25 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/1.023, allocations: 2.641 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/1.023, allocations: 72.8 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/1.023, allocations: 192 / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/1.023, allocations: 5 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/1.023, allocations: 0.5625 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/1.023, allocations: 67.48 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/1.024, allocations: 265.8 kB / 1.091 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/1.024, allocations: 66.84 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/1.024, allocations: 45.14 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/1.024, allocations: 1 kB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/1.024, allocations: 32.52 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.024, allocations: 0 / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005924/1.025, allocations: 128.9 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/1.025, allocations: 52.72 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/1.025, allocations: 107.4 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/1.025, allocations: 25.7 kB / 1.092 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.811e-05/1.025, allocations: 91.05 kB / 1.092 GB, free: 3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/1.025, allocations: 17.55 kB / 1.092 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/1.025, allocations: 13.02 kB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.55e-05/1.025, allocations: 318.4 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/1.025, allocations: 30.77 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/1.026, allocations: 32.53 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/1.026, allocations: 70.28 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/1.026, allocations: 5 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003313/1.026, allocations: 101.7 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.026, allocations: 5.516 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/1.026, allocations: 0 / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.026, allocations: 1.578 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/1.026, allocations: 22.91 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/1.026, allocations: 1.984 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.492e-05/1.027, allocations: 10.78 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/1.027, allocations: 1 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 6.294e-05/1.027, allocations: 112.8 kB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/1.027, allocations: 6.062 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/1.027, allocations: 108.2 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/1.027, allocations: 1.703 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.027, allocations: 4.906 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.027, allocations: 0 / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/1.027, allocations: 171 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.027, allocations: 0 / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/1.027, allocations: 20.14 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.027, allocations: 0.7812 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/1.027, allocations: 4.703 kB / 1.093 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.027, allocations: 5 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.027, allocations: 0 / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003664/1.028, allocations: 194.3 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.942e-05/1.028, allocations: 83.05 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/1.028, allocations: 5.453 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/1.028, allocations: 11.5 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/1.028, allocations: 7.453 kB / 1.093 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/1.028, allocations: 5.438 kB / 1.093 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.79e-05/1.028, allocations: 84.14 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.028, allocations: 0 / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002244/1.028, allocations: 10.48 kB / 1.093 GB, free: 1.844 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 (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.0001499/1.028, allocations: 103.3 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003872/1.029, allocations: 70.67 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.029, allocations: 0 / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001696/1.029, allocations: 35.27 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/1.029, allocations: 14.64 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/1.03, allocations: 140.8 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/1.03, allocations: 0.6805 MB / 1.094 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/1.03, allocations: 10.41 kB / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/1.03, allocations: 0 / 1.094 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of Templates: time 0.00287/1.033, allocations: 0.7484 MB / 1.095 GB, free: 0.8359 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches