Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.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.233/2.233, allocations: 390.3 MB / 402.8 MB, free: 6.648 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.001144/0.001144, allocations: 184.8 kB / 496.1 MB, free: 12.87 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.603/1.603, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.0008822/0.0008821, allocations: 91.89 kB / 0.9317 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.025e-05, allocations: 7.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.316, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9956/1.312, allocations: 150.4 MB / 1.366 GB, free: 3.609 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/1.312, allocations: 89.44 kB / 1.366 GB, free: 3.555 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004373/1.316, allocations: 1.44 MB / 1.367 GB, free: 2.309 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.735e-06/1.316, allocations: 3.938 kB / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.127e-05/1.316, allocations: 0 / 1.367 GB, free: 2.305 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005963/1.317, allocations: 357.6 kB / 1.367 GB, free: 1.914 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.729e-05/1.317, allocations: 8.031 kB / 1.367 GB, free: 1.906 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/1.317, allocations: 11.91 kB / 1.367 GB, free: 1.895 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/1.318, allocations: 193.6 kB / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/1.318, allocations: 0 / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/1.318, allocations: 0 / 1.368 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/1.318, allocations: 44.64 kB / 1.368 GB, free: 1.629 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.318, allocations: 0 / 1.368 GB, free: 1.629 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/1.318, allocations: 3.984 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/1.318, allocations: 0 / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/1.318, allocations: 27.19 kB / 1.368 GB, free: 1.605 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/1.319, allocations: 298.1 kB / 1.368 GB, free: 1.281 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/1.319, allocations: 37.25 kB / 1.368 GB, free: 1.242 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/1.319, allocations: 23.48 kB / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/1.319, allocations: 0 / 1.368 GB, free: 1.223 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/1.319, allocations: 41.38 kB / 1.368 GB, free: 1.176 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/1.319, allocations: 0 / 1.368 GB, free: 1.176 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002304/1.319, allocations: 52.78 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/1.319, allocations: 55.36 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/1.319, allocations: 99.94 kB / 1.368 GB, free: 0.957 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/1.319, allocations: 25.7 kB / 1.368 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/1.32, allocations: 103.5 kB / 1.368 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/1.32, allocations: 11.5 kB / 1.368 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/1.32, allocations: 4 kB / 1.368 GB, free: 0.8125 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001828/1.32, allocations: 318.1 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/1.32, allocations: 11.5 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/1.32, allocations: 7.312 kB / 1.369 GB, free: 496 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/1.32, allocations: 15.31 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.32, allocations: 0 / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001073/1.32, allocations: 60.31 kB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/1.32, allocations: 11.94 kB / 1.369 GB, free: 416 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.32, allocations: 0 / 1.369 GB, free: 416 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.32, allocations: 0 / 1.369 GB, free: 416 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/1.32, allocations: 19.98 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.32, allocations: 3.953 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/1.32, allocations: 4 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/1.32, allocations: 4 kB / 1.369 GB, free: 384 kB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.000102/1.32, allocations: 108.7 kB / 1.369 GB, free: 272 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.883e-05/1.32, allocations: 7.891 kB / 1.369 GB, free: 264 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/1.321, allocations: 64.16 kB / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/1.321, allocations: 4 kB / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.321, allocations: 0 / 1.369 GB, free: 196 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.321, allocations: 3.953 kB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/1.321, allocations: 164.7 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.321, allocations: 3.984 kB / 1.369 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/1.321, allocations: 12 kB / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.321, allocations: 4 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/1.321, allocations: 0 / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/1.321, allocations: 4.672 kB / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.321, allocations: 0 / 1.369 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/1.321, allocations: 177.7 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/1.321, allocations: 84.73 kB / 1.369 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/1.321, allocations: 4.219 kB / 1.369 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/1.321, allocations: 16.05 kB / 1.369 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/1.322, allocations: 4 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/1.322, allocations: 3.938 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.775e-05/1.322, allocations: 91.2 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.322, allocations: 0 / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002225/1.322, allocations: 8 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001823/1.322, allocations: 98.56 kB / 1.37 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001192/1.322, allocations: 34.94 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.322, allocations: 0 / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.2e-05/1.322, allocations: 11.81 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/1.322, allocations: 14.22 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/1.323, allocations: 93.75 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/1.323, allocations: 0.6887 MB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.283e-05/1.323, allocations: 4 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/1.323, allocations: 11.44 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.323, allocations: 0 / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of Templates: time 0.002903/1.326, allocations: 0.5018 MB / 1.371 GB, free: 14.1 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches