Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.364/2.364, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001362/0.001361, allocations: 173.1 kB / 498.1 MB, free: 5.73 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.558/1.558, allocations: 223.2 MB / 0.7949 GB, free: 17.88 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.001298/0.001298, allocations: 103.7 kB / 0.9346 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 16.03 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3125, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1972/0.5098, allocations: 148.8 MB / 1.368 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5101, allocations: 71.91 kB / 1.368 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002532/0.5126, allocations: 0.8053 MB / 1.369 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5127, allocations: 0 / 1.369 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.5127, allocations: 0 / 1.369 GB, free: 12.3 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000565/0.5133, allocations: 371.2 kB / 1.369 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.5133, allocations: 8.031 kB / 1.369 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.5134, allocations: 11.84 kB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.5136, allocations: 163 kB / 1.37 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.5136, allocations: 7.938 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.5136, allocations: 0 / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.5139, allocations: 85.64 kB / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5139, allocations: 0 / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.5139, allocations: 0 / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.514, allocations: 0 / 1.37 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.5143, allocations: 87.92 kB / 1.37 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.5147, allocations: 272.9 kB / 1.37 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.515, allocations: 69.2 kB / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.515, allocations: 0 / 1.37 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.515, allocations: 38.56 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.515, allocations: 0 / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0005588/0.5156, allocations: 161.6 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.5157, allocations: 55.34 kB / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.486e-05/0.5158, allocations: 112.9 kB / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.5158, allocations: 29.7 kB / 1.37 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.5159, allocations: 84.14 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.5159, allocations: 7.891 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.5159, allocations: 4 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.516, allocations: 314.8 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.5162, allocations: 43.97 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.5163, allocations: 35.97 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.5165, allocations: 47.95 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5165, allocations: 0 / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003413/0.5169, allocations: 121.5 kB / 1.371 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.5169, allocations: 4 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.5169, allocations: 0 / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5169, allocations: 3.938 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.5171, allocations: 31.91 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.5171, allocations: 4 kB / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.66e-05/0.5172, allocations: 15.98 kB / 1.371 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.5172, allocations: 7.953 kB / 1.371 GB, free: 9.941 MB / 0.8698 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.873e-05/0.5173, allocations: 105.8 kB / 1.371 GB, free: 9.828 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.5174, allocations: 4 kB / 1.371 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.5174, allocations: 7.906 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.5174, allocations: 4 kB / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.5174, allocations: 0 / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.5174, allocations: 336 / 1.371 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.5176, allocations: 177.5 kB / 1.371 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5176, allocations: 0 / 1.371 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.5177, allocations: 27.92 kB / 1.371 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5178, allocations: 0 / 1.371 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5178, allocations: 0 / 1.371 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5178, allocations: 4 kB / 1.371 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5178, allocations: 7.984 kB / 1.371 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.5182, allocations: 219.4 kB / 1.372 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.202e-05/0.5182, allocations: 81.11 kB / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.5183, allocations: 0 / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.5184, allocations: 15.98 kB / 1.372 GB, free: 9.199 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.5184, allocations: 7.984 kB / 1.372 GB, free: 9.191 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.5185, allocations: 4 kB / 1.372 GB, free: 9.188 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.41e-05/0.5185, allocations: 83.28 kB / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5185, allocations: 0 / 1.372 GB, free: 9.105 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002047/0.5187, allocations: 8 kB / 1.372 GB, free: 9.098 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001556/0.5189, allocations: 103.8 kB / 1.372 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003502/0.5192, allocations: 91.92 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5193, allocations: 0 / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.5194, allocations: 55.91 kB / 1.372 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.5197, allocations: 7.938 kB / 1.372 GB, free: 8.832 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/0.52, allocations: 146.9 kB / 1.372 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.5204, allocations: 0.6809 MB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.5204, allocations: 0 / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.5204, allocations: 11.44 kB / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of SimCode: time 5.21e-07/0.5205, allocations: 0 / 1.373 GB, free: 7.945 MB / 0.8698 GB Notification: Performance of Templates: time 0.002606/0.5231, allocations: 0.5198 MB / 1.373 GB, free: 7.43 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches