Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 249.5 MB / 257 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 179.5 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 86.48 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.079e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2431, allocations: 106.3 MB / 0.8853 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7571/1, allocations: 131.6 MB / 1.014 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/1.001, allocations: 76 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002305/1.003, allocations: 0.8369 MB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/1.003, allocations: 0 / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.771e-06/1.003, allocations: 0 / 1.015 GB, free: 5.383 MB / 0.6355 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.0004703/1.003, allocations: 362.1 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.003, allocations: 8.031 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/1.003, allocations: 7.906 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/1.004, allocations: 163.7 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/1.004, allocations: 4 kB / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/1.004, allocations: 0 / 1.015 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.74e-05/1.004, allocations: 19.38 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.907e-05/1.004, allocations: 43.94 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.004, allocations: 0 / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/1.004, allocations: 0 / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/1.004, allocations: 7.938 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/1.004, allocations: 278 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.433e-05/1.005, allocations: 37.19 kB / 1.016 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/1.005, allocations: 15.92 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/1.005, allocations: 4.078 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/1.005, allocations: 35.94 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.705e-06/1.005, allocations: 0 / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001791/1.005, allocations: 54.53 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/1.005, allocations: 55.41 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/1.005, allocations: 108 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/1.005, allocations: 25.7 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/1.005, allocations: 83.45 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/1.005, allocations: 3.906 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/1.005, allocations: 4 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001214/1.005, allocations: 321.5 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/1.005, allocations: 7.062 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.793e-05/1.005, allocations: 7.25 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.422e-05/1.005, allocations: 7.062 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.005, allocations: 4 kB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.895e-05/1.005, allocations: 56.09 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/1.005, allocations: 4 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/1.005, allocations: 0 / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.005, allocations: 0 / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/1.006, allocations: 23.92 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.006, allocations: 0 / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.21e-05/1.006, allocations: 23.97 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/1.006, allocations: 7.938 kB / 1.016 GB, free: 3.516 MB / 0.6355 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 (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 7.481e-05/1.006, allocations: 104.9 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/1.006, allocations: 0 / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/1.006, allocations: 59.97 kB / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/1.006, allocations: 0 / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/1.006, allocations: 0 / 1.017 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.006, allocations: 7.922 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/1.006, allocations: 156.8 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.006, allocations: 0 / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/1.006, allocations: 19.98 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.006, allocations: 3.938 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/1.006, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/1.006, allocations: 0.6875 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/1.006, allocations: 0 / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/1.006, allocations: 150.3 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/1.006, allocations: 81.06 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/1.007, allocations: 3.984 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/1.007, allocations: 23.05 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/1.007, allocations: 4.281 kB / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/1.007, allocations: 0 / 1.017 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.623e-05/1.007, allocations: 90.89 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.007, allocations: 0 / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002034/1.007, allocations: 11.94 kB / 1.017 GB, free: 2.75 MB / 0.6355 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 () * 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.0001508/1.007, allocations: 95.25 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001128/1.007, allocations: 30.55 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.007, allocations: 0 / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.956e-05/1.007, allocations: 11.38 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/1.008, allocations: 15.05 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/1.008, allocations: 70.89 kB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/1.008, allocations: 0.6807 MB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.136e-05/1.008, allocations: 3.984 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/1.008, allocations: 11.44 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of SimCode: time 2.876e-06/1.008, allocations: 0 / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of Templates: time 0.002242/1.01, allocations: 0.4927 MB / 1.018 GB, free: 1.324 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches