Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Obsolete.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.023/2.023, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.000987/0.000987, allocations: 192.6 kB / 487.4 MB, free: 5.039 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.321/1.321, 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.0008818/0.0008818, allocations: 95.89 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.356e-05/1.358e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.234, allocations: 142.4 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7948/1.029, allocations: 148.9 MB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/1.029, allocations: 87.64 kB / 1.351 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004425/1.034, allocations: 1.433 MB / 1.353 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.943e-06/1.034, allocations: 0 / 1.353 GB, free: 34.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.125e-05/1.034, allocations: 4 kB / 1.353 GB, free: 34.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003697/1.034, allocations: 356.6 kB / 1.353 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.034, allocations: 8.578 kB / 1.353 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/1.034, allocations: 7.781 kB / 1.353 GB, free: 33.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/1.034, allocations: 189.5 kB / 1.353 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/1.034, allocations: 4 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/1.034, allocations: 11.62 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.494e-05/1.034, allocations: 19.86 kB / 1.353 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.985e-05/1.034, allocations: 44.12 kB / 1.353 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/1.035, allocations: 0.8438 kB / 1.353 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/1.035, allocations: 0 / 1.353 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.035, allocations: 0 / 1.353 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/1.035, allocations: 277.7 kB / 1.354 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.959e-05/1.035, allocations: 37.53 kB / 1.354 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/1.035, allocations: 17.25 kB / 1.354 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/1.035, allocations: 0 / 1.354 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/1.035, allocations: 39.02 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/1.035, allocations: 0 / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001626/1.035, allocations: 51.88 kB / 1.354 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.805e-05/1.035, allocations: 59.94 kB / 1.354 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/1.035, allocations: 98.84 kB / 1.354 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/1.035, allocations: 25.7 kB / 1.354 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/1.036, allocations: 92.16 kB / 1.354 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/1.036, allocations: 12.97 kB / 1.354 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/1.036, allocations: 0 / 1.354 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.036, allocations: 324.7 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/1.036, allocations: 7.812 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.584e-05/1.036, allocations: 7.406 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/1.036, allocations: 16.25 kB / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/1.036, allocations: 0 / 1.354 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.068e-05/1.036, allocations: 54.34 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/1.036, allocations: 6.891 kB / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.036, allocations: 0 / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.036, allocations: 0 / 1.355 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/1.036, allocations: 23.02 kB / 1.355 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.036, allocations: 3.844 kB / 1.355 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/1.036, allocations: 6.25 kB / 1.355 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/1.036, allocations: 4.625 kB / 1.355 GB, free: 32.44 MB / 0.8386 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 6.173e-05/1.036, allocations: 104.9 kB / 1.355 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/1.036, allocations: 4.609 kB / 1.355 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/1.036, allocations: 65.98 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/1.036, allocations: 4 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.036, allocations: 1.188 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/1.036, allocations: 0.7969 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/1.036, allocations: 148.6 kB / 1.355 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.036, allocations: 3.875 kB / 1.355 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-05/1.037, allocations: 14.95 kB / 1.355 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.037, allocations: 7.75 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/1.037, allocations: 0.7969 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.037, allocations: 0 / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.037, allocations: 8.5 kB / 1.355 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/1.037, allocations: 165.5 kB / 1.355 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.286e-05/1.037, allocations: 85.67 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/1.037, allocations: 0.5625 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/1.037, allocations: 6.25 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/1.037, allocations: 9.703 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/1.037, allocations: 0.7969 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.91e-05/1.037, allocations: 91.11 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.037, allocations: 0 / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001971/1.037, allocations: 4.672 kB / 1.355 GB, free: 31.79 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.000129/1.037, allocations: 104.1 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.549e-05/1.037, allocations: 27 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.037, allocations: 3.844 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.428e-05/1.037, allocations: 15.23 kB / 1.355 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/1.038, allocations: 10.31 kB / 1.355 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/1.038, allocations: 97.06 kB / 1.356 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/1.038, allocations: 0.6912 MB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.937e-05/1.038, allocations: 1.266 kB / 1.356 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/1.038, allocations: 11.28 kB / 1.356 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.038, allocations: 0 / 1.356 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.002203/1.041, allocations: 473.2 kB / 1.357 GB, free: 30.84 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & ./Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.csv","../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches