Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.0009362/0.0009362, allocations: 184.4 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.001029, allocations: 99.77 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.643e-05/2.655e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3977, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.443, allocations: 149.2 MB / 1.352 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/1.443, allocations: 73.3 kB / 1.352 GB, free: 18.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01068/1.454, allocations: 3.572 MB / 1.355 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.844e-06/1.454, allocations: 0 / 1.355 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.348e-05/1.454, allocations: 3.844 kB / 1.355 GB, free: 33.96 MB / 0.8386 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.000668/1.454, allocations: 451.5 kB / 1.356 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/1.454, allocations: 12.33 kB / 1.356 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.167e-05/1.454, allocations: 15.5 kB / 1.356 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/1.455, allocations: 232.7 kB / 1.356 GB, free: 33.35 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/1.455, allocations: 7.844 kB / 1.356 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/1.455, allocations: 12.42 kB / 1.356 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001533/1.455, allocations: 78.83 kB / 1.356 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/1.455, allocations: 111.3 kB / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.455, allocations: 0 / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/1.455, allocations: 0.7969 kB / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.455, allocations: 7.734 kB / 1.356 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/1.456, allocations: 0.4975 MB / 1.357 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/1.457, allocations: 116.8 kB / 1.357 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.598e-05/1.457, allocations: 66.8 kB / 1.357 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/1.457, allocations: 0.5625 kB / 1.357 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/1.457, allocations: 98.84 kB / 1.357 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/1.457, allocations: 0 / 1.357 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0002526/1.457, allocations: 134.8 kB / 1.357 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/1.457, allocations: 51.41 kB / 1.357 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/1.457, allocations: 132.5 kB / 1.357 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/1.457, allocations: 34.31 kB / 1.357 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/1.457, allocations: 114.3 kB / 1.357 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.881e-05/1.457, allocations: 59.91 kB / 1.357 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/1.457, allocations: 3.938 kB / 1.357 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001468/1.458, allocations: 326.8 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.988e-05/1.458, allocations: 41.31 kB / 1.358 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.712e-05/1.458, allocations: 75.73 kB / 1.358 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.088e-05/1.458, allocations: 58.06 kB / 1.358 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.458, allocations: 0 / 1.358 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002198/1.458, allocations: 168.2 kB / 1.358 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/1.458, allocations: 7.906 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/1.458, allocations: 3.938 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/1.458, allocations: 4.438 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/1.458, allocations: 37.84 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/1.458, allocations: 0 / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/1.459, allocations: 32.97 kB / 1.358 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/1.459, allocations: 10.42 kB / 1.358 GB, free: 32.15 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 8.391e-05/1.459, allocations: 109.5 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/1.459, allocations: 8.344 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/1.459, allocations: 153.5 kB / 1.358 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/1.459, allocations: 4.844 kB / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.459, allocations: 0.875 kB / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/1.459, allocations: 0.6562 kB / 1.358 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/1.46, allocations: 0.5155 MB / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.46, allocations: 0 / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/1.46, allocations: 40.95 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/1.46, allocations: 3.875 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/1.46, allocations: 7.938 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.46, allocations: 3.844 kB / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.46, allocations: 0 / 1.359 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/1.46, allocations: 404.5 kB / 1.359 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/1.46, allocations: 95.83 kB / 1.359 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/1.46, allocations: 0 / 1.359 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/1.46, allocations: 20.91 kB / 1.359 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/1.46, allocations: 26.55 kB / 1.359 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/1.46, allocations: 7.719 kB / 1.359 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.444e-05/1.46, allocations: 104.4 kB / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.46, allocations: 0 / 1.36 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002467/1.461, allocations: 27.19 kB / 1.36 GB, free: 31.16 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.000169/1.461, allocations: 112.9 kB / 1.36 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001906/1.461, allocations: 116 kB / 1.36 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/1.461, allocations: 4.062 kB / 1.36 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.819e-05/1.461, allocations: 70.72 kB / 1.36 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/1.461, allocations: 16.81 kB / 1.36 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/1.462, allocations: 275.7 kB / 1.36 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/1.462, allocations: 0.7334 MB / 1.361 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.404e-05/1.462, allocations: 16.08 kB / 1.361 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/1.462, allocations: 25.45 kB / 1.361 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.462, allocations: 0 / 1.361 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of Templates: time 0.003742/1.466, allocations: 1.383 MB / 1.362 GB, free: 30.05 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches