Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.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.Controls.OBC.CDL.Continuous.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.413/2.413, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001057/0.001057, allocations: 183.5 kB / 0.4902 GB, free: 2.227 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.515/1.515, allocations: 223.2 MB / 0.7992 GB, free: 14.71 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.0008729/0.0008729, allocations: 105.8 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.00041, allocations: 11.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3148, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.5112, allocations: 149.6 MB / 1.375 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.5114, allocations: 67.97 kB / 1.375 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002203/0.5137, allocations: 0.7981 MB / 1.376 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5137, allocations: 4 kB / 1.376 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.5137, allocations: 0 / 1.376 GB, free: 2.988 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.0004876/0.5142, allocations: 371.2 kB / 1.377 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5142, allocations: 12.03 kB / 1.377 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.552e-05/0.5143, allocations: 4 kB / 1.377 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.5145, allocations: 178.9 kB / 1.377 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.5145, allocations: 7.922 kB / 1.377 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.5145, allocations: 0 / 1.377 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.5148, allocations: 77.66 kB / 1.377 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5148, allocations: 7.984 kB / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.5148, allocations: 0 / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5148, allocations: 0 / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.5151, allocations: 83.94 kB / 1.377 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.5155, allocations: 272.9 kB / 1.377 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002195/0.5158, allocations: 71.39 kB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.5158, allocations: 0 / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.5158, allocations: 30.56 kB / 1.377 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.5158, allocations: 0 / 1.377 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.000575/0.5164, allocations: 165.6 kB / 1.377 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.5165, allocations: 55.41 kB / 1.377 GB, free: 1.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.208e-05/0.5166, allocations: 104.9 kB / 1.378 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.5166, allocations: 25.7 kB / 1.378 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.5167, allocations: 88.12 kB / 1.378 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.5167, allocations: 7.906 kB / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.5167, allocations: 0 / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5168, allocations: 318.8 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.517, allocations: 47.89 kB / 1.378 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.5171, allocations: 43.97 kB / 1.378 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.5173, allocations: 39.95 kB / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5173, allocations: 0 / 1.378 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000324/0.5176, allocations: 125.5 kB / 1.378 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.5177, allocations: 8 kB / 1.378 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5177, allocations: 0 / 1.378 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5177, allocations: 4 kB / 1.378 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.5178, allocations: 15.98 kB / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5179, allocations: 4 kB / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.254e-05/0.518, allocations: 27.91 kB / 1.378 GB, free: 0.625 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.518, allocations: 7.953 kB / 1.378 GB, free: 0.6172 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 8.185e-05/0.5181, allocations: 110.6 kB / 1.378 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.5181, allocations: 4 kB / 1.378 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.5182, allocations: 3.906 kB / 1.378 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5182, allocations: 0 / 1.378 GB, free: 0.4922 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5182, allocations: 3.938 kB / 1.378 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5182, allocations: 0 / 1.378 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.5184, allocations: 173.6 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.5184, allocations: 4 kB / 1.379 GB, free: 272 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.5185, allocations: 19.98 kB / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5185, allocations: 0 / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5185, allocations: 4.328 kB / 1.379 GB, free: 248 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5185, allocations: 0 / 1.379 GB, free: 248 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5185, allocations: 0 / 1.379 GB, free: 248 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.5189, allocations: 231.2 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.519, allocations: 81.2 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.519, allocations: 0 / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.5192, allocations: 15.98 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.5192, allocations: 7.984 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.5192, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.654e-05/0.5193, allocations: 83.28 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5193, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001965/0.5195, allocations: 8 kB / 1.379 GB, free: 15.79 MB / 0.8855 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.000173/0.5197, allocations: 111.2 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003451/0.52, allocations: 91.86 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.52, allocations: 0 / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.5202, allocations: 47.97 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.5204, allocations: 7.953 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.5208, allocations: 132.9 kB / 1.379 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.521, allocations: 0.6809 MB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.5211, allocations: 7.938 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.5211, allocations: 11.44 kB / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.5211, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of Templates: time 0.002714/0.5239, allocations: 0.522 MB / 1.381 GB, free: 14.13 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches