Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.444/2.444, allocations: 390.3 MB / 402.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 180.8 kB / 496.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.3 MB / 0.7915 GB, free: 5.379 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009803/0.0009803, allocations: 91.94 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.511e-05/5.513e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3312, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9587/1.29, allocations: 150.6 MB / 1.366 GB, free: 3.383 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.29, allocations: 79.12 kB / 1.366 GB, free: 3.34 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009848/1.3, allocations: 3.589 MB / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of FrontEnd: time 1.783e-06/1.3, allocations: 0 / 1.369 GB, free: 276 kB / 0.823 GB Notification: Performance of Transformations before backend: time 1.428e-05/1.3, allocations: 4 kB / 1.369 GB, free: 272 kB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006783/1.301, allocations: 452.5 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.301, allocations: 8.031 kB / 1.37 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/1.301, allocations: 19.77 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/1.301, allocations: 231.8 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/1.301, allocations: 15.09 kB / 1.37 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/1.301, allocations: 11.44 kB / 1.37 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/1.302, allocations: 131.2 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.302, allocations: 0 / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/1.302, allocations: 7.375 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.302, allocations: 3.953 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/1.302, allocations: 81.2 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/1.303, allocations: 0.5465 MB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/1.303, allocations: 129 kB / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/1.303, allocations: 68.61 kB / 1.371 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/1.303, allocations: 8.031 kB / 1.371 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/1.304, allocations: 108.7 kB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/1.304, allocations: 0 / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0003025/1.304, allocations: 144.6 kB / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/1.304, allocations: 59.36 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/1.304, allocations: 147.2 kB / 1.372 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/1.304, allocations: 33.64 kB / 1.372 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/1.304, allocations: 118.8 kB / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/1.304, allocations: 62.03 kB / 1.372 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/1.304, allocations: 7.562 kB / 1.372 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.304, allocations: 329.6 kB / 1.372 GB, free: 13.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/1.305, allocations: 48.06 kB / 1.372 GB, free: 13.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/1.305, allocations: 83.05 kB / 1.372 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/1.305, allocations: 58.59 kB / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.305, allocations: 0 / 1.372 GB, free: 13.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002724/1.305, allocations: 180 kB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.305, allocations: 4 kB / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.305, allocations: 0 / 1.372 GB, free: 13.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/1.305, allocations: 4 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/1.305, allocations: 47.16 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/1.305, allocations: 7.953 kB / 1.372 GB, free: 13.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/1.306, allocations: 31.52 kB / 1.373 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/1.306, allocations: 7.984 kB / 1.373 GB, free: 13.35 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lesThr.lesHys.y,lesThr.lesHys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.522e-05/1.306, allocations: 112 kB / 1.373 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/1.306, allocations: 15.81 kB / 1.373 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/1.306, allocations: 169.1 kB / 1.373 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.306, allocations: 4 kB / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/1.306, allocations: 0 / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.306, allocations: 3.984 kB / 1.373 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/1.307, allocations: 0.5518 MB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.307, allocations: 0 / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/1.307, allocations: 43.23 kB / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.307, allocations: 0 / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/1.307, allocations: 4 kB / 1.373 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.307, allocations: 11.94 kB / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.307, allocations: 192 / 1.373 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/1.307, allocations: 418.7 kB / 1.374 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/1.307, allocations: 93.09 kB / 1.374 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/1.308, allocations: 6.562 kB / 1.374 GB, free: 11.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/1.308, allocations: 22.59 kB / 1.374 GB, free: 11.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/1.308, allocations: 31.09 kB / 1.374 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/1.308, allocations: 11.69 kB / 1.374 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.174e-05/1.308, allocations: 119.1 kB / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.624e-06/1.308, allocations: 0 / 1.374 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000251/1.308, allocations: 42.59 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001932/1.308, allocations: 114.1 kB / 1.374 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002483/1.309, allocations: 130.6 kB / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.309, allocations: 0 / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/1.309, allocations: 70.12 kB / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/1.309, allocations: 27.62 kB / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005181/1.309, allocations: 274.9 kB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/1.31, allocations: 0.7321 MB / 1.375 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.413e-05/1.31, allocations: 13.2 kB / 1.375 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/1.31, allocations: 19.44 kB / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/1.31, allocations: 0 / 1.375 GB, free: 10.41 MB / 0.8386 GB Notification: Performance of Templates: time 0.004133/1.314, allocations: 1.513 MB / 1.377 GB, free: 8.918 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches