Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001107, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 195.8 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.053/3.053, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 72.73 kB / 0.9116 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3695, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002658/0.3722, allocations: 0.7672 MB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3734, allocations: 0.8079 MB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.499e-05/0.3735, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.3736, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/0.3737, allocations: 11.94 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.3739, allocations: 7.984 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.374, allocations: 51.84 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3741, allocations: 11.98 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.879e-05/0.3742, allocations: 19.88 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.3743, allocations: 19.91 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.3743, allocations: 4 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.749e-05/0.3744, allocations: 4 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.3744, allocations: 12 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.3745, allocations: 27.8 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.3746, allocations: 35.86 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3746, allocations: 0 / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3746, allocations: 4 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.3746, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 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.0007128/0.3754, allocations: 351.7 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.3754, allocations: 12.03 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.3755, allocations: 12.83 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.3757, allocations: 172.3 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3757, allocations: 4.375 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3757, allocations: 4.375 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.3761, allocations: 66.22 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3761, allocations: 192 / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3761, allocations: 3.938 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.3761, allocations: 0 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.3764, allocations: 71.86 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.3769, allocations: 264.9 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.3772, allocations: 62.47 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.3773, allocations: 36.92 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.3774, allocations: 0 / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3774, allocations: 38.5 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.3774, allocations: 0 / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005779/0.378, allocations: 133.6 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.378, allocations: 51.41 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3782, allocations: 105.8 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.3782, allocations: 25.7 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.3782, allocations: 92.05 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.3783, allocations: 7.891 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.3783, allocations: 21.72 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3784, allocations: 310.8 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3786, allocations: 39.95 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001317/0.3787, allocations: 31.91 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.379, allocations: 76.72 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.379, allocations: 3.938 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003182/0.3794, allocations: 93.62 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3794, allocations: 4 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3794, allocations: 0 / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.3794, allocations: 4.328 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.3796, allocations: 19.97 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3796, allocations: 0 / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.847e-05/0.3797, allocations: 11.98 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3797, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.3798, allocations: 123 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.309e-05/0.3798, allocations: 7.906 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.3802, allocations: 113.5 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.3802, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3802, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3802, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3804, allocations: 177.6 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3804, allocations: 0 / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.3805, allocations: 15.98 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3805, allocations: 4 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3806, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3806, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3806, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003808/0.381, allocations: 199.3 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.381, allocations: 92.95 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.381, allocations: 0 / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3812, allocations: 11.98 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.3812, allocations: 3.984 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.3812, allocations: 0 / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.3813, allocations: 87.28 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.51e-07/0.3813, allocations: 0 / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002207/0.3815, allocations: 8 kB / 1.072 GB, free: 5.676 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001767/0.3817, allocations: 103.2 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.3821, allocations: 75.86 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3821, allocations: 0 / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3822, allocations: 31.97 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.3826, allocations: 19.86 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.3831, allocations: 137.3 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3834, allocations: 0.6807 MB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.358e-05/0.3834, allocations: 4 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.3835, allocations: 11.44 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.3835, allocations: 0 / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of Templates: time 0.003078/0.3866, allocations: 0.574 MB / 1.074 GB, free: 3.992 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches