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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.952/1.952, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001145/0.001145, allocations: 177.4 kB / 490.8 MB, free: 1.984 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.287/1.287, allocations: 221.4 MB / 0.7863 GB, free: 13.7 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.0009997/0.0009997, allocations: 96.61 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.294e-06/7.314e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2338, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6585/0.8923, allocations: 149.6 MB / 1.358 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.8926, allocations: 86.38 kB / 1.358 GB, free: 17.26 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.003909/0.8966, allocations: 1.128 MB / 1.359 GB, free: 17.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.8966, allocations: 1 kB / 1.359 GB, free: 17.2 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.0003494/0.8969, allocations: 357.6 kB / 1.359 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.897, allocations: 8.312 kB / 1.359 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.897, allocations: 9.828 kB / 1.359 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.8972, allocations: 188 kB / 1.359 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.8973, allocations: 4.844 kB / 1.359 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.8973, allocations: 2 kB / 1.359 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.268e-05/0.8974, allocations: 25.45 kB / 1.359 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.05e-05/0.8975, allocations: 45.08 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8975, allocations: 0 / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.8975, allocations: 4.516 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.8975, allocations: 1.188 kB / 1.359 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.8979, allocations: 269.4 kB / 1.36 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.669e-05/0.8979, allocations: 44.12 kB / 1.36 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.898, allocations: 13.11 kB / 1.36 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.898, allocations: 1.188 kB / 1.36 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.103e-05/0.898, allocations: 30.56 kB / 1.36 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.898, allocations: 5.281 kB / 1.36 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001669/0.8982, allocations: 50.3 kB / 1.36 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.577e-05/0.8982, allocations: 56.53 kB / 1.36 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.762e-05/0.8983, allocations: 100.3 kB / 1.36 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.8983, allocations: 25.7 kB / 1.36 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.8984, allocations: 86.55 kB / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.8984, allocations: 15.58 kB / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.8984, allocations: 0 / 1.36 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8985, allocations: 321.5 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.8986, allocations: 9.906 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.96e-05/0.8986, allocations: 12.81 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.684e-05/0.8986, allocations: 11.8 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8986, allocations: 0 / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.677e-05/0.8987, allocations: 63.56 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.8987, allocations: 5.312 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.8987, allocations: 1.406 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.8988, allocations: 1.344 kB / 1.361 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.8989, allocations: 19.66 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.8989, allocations: 0 / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.429e-05/0.899, allocations: 9 kB / 1.361 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.899, allocations: 2.625 kB / 1.361 GB, free: 31.59 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 5.384e-05/0.899, allocations: 106 kB / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.8991, allocations: 6.062 kB / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.8992, allocations: 62.98 kB / 1.361 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.8992, allocations: 7.844 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.8992, allocations: 1.125 kB / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8992, allocations: 0 / 1.361 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.8993, allocations: 143.7 kB / 1.361 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8993, allocations: 1.594 kB / 1.361 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.8994, allocations: 19.47 kB / 1.361 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.8994, allocations: 4 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.8995, allocations: 1.031 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8995, allocations: 0 / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.8995, allocations: 4.844 kB / 1.361 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001447/0.8996, allocations: 164.2 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.8996, allocations: 80.31 kB / 1.361 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.8997, allocations: 0 / 1.361 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/0.8998, allocations: 17.75 kB / 1.361 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.8998, allocations: 6.75 kB / 1.361 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.8998, allocations: 2.625 kB / 1.361 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.88e-05/0.8999, allocations: 86 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002194/0.9001, allocations: 10.19 kB / 1.361 GB, free: 30.95 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.0001017/0.9002, allocations: 99.78 kB / 1.361 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.277e-05/0.9003, allocations: 28.5 kB / 1.361 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9003, allocations: 0 / 1.361 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.9003, allocations: 18.23 kB / 1.361 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.9005, allocations: 5.297 kB / 1.361 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.9008, allocations: 97.31 kB / 1.362 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.901, allocations: 0.6963 MB / 1.362 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.901, allocations: 4 kB / 1.362 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of Templates: time 0.002369/0.9034, allocations: 0.5715 MB / 1.363 GB, free: 30.01 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