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.001472/0.001472, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.487/1.487, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.001541, allocations: 64.17 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3603, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002749/0.3631, allocations: 0.7015 MB / 1.069 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3643, allocations: 0.8061 MB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/0.3643, allocations: 0 / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.342e-05/0.3644, allocations: 7.875 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.584e-05/0.3645, allocations: 11.94 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001408/0.3646, allocations: 15.98 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.551e-05/0.3647, allocations: 47.8 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3649, allocations: 15.97 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.538e-05/0.3649, allocations: 15.92 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.365, allocations: 23.92 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.365, allocations: 4 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.3651, allocations: 0 / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.3651, allocations: 15.98 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.799e-05/0.3651, allocations: 15.88 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.803e-05/0.3652, allocations: 39.86 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3652, allocations: 0 / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3652, allocations: 0 / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3653, allocations: 0 / 1.07 GB, free: 8.68 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.000569/0.3658, allocations: 363.7 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3659, allocations: 8.031 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.3659, allocations: 8.844 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.3661, allocations: 168.3 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.757e-06/0.3661, allocations: 4.312 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3661, allocations: 4.375 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002653/0.3664, allocations: 70.2 kB / 1.071 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3664, allocations: 4.172 kB / 1.071 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3664, allocations: 3.938 kB / 1.071 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3664, allocations: 4 kB / 1.071 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.3667, allocations: 63.92 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.3671, allocations: 264.9 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.3673, allocations: 66.41 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.3675, allocations: 36.92 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3675, allocations: 3.984 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3675, allocations: 34.56 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3675, allocations: 0 / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005454/0.3681, allocations: 129.5 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.3681, allocations: 51.41 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.495e-05/0.3682, allocations: 105.8 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3682, allocations: 25.7 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.3683, allocations: 96.03 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.3683, allocations: 7.906 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.3684, allocations: 17.72 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3685, allocations: 318.8 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.3686, allocations: 31.97 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.3688, allocations: 27.97 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.3691, allocations: 80.66 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3691, allocations: 3.938 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000314/0.3694, allocations: 101.6 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.3694, allocations: 4 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3694, allocations: 3.984 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3695, allocations: 4 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.3696, allocations: 15.98 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3696, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.3697, allocations: 11.98 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.3697, allocations: 0 / 1.072 GB, free: 6.352 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 7.117e-05/0.3698, allocations: 115.8 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.3698, allocations: 7.906 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.3702, allocations: 109.5 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3702, allocations: 3.938 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3702, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3702, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.3704, allocations: 169.6 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3704, allocations: 384 / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.696e-05/0.3705, allocations: 15.98 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3705, allocations: 4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3705, allocations: 3.984 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3705, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3705, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.3709, allocations: 195.4 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.371, allocations: 92.95 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.371, allocations: 0 / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3711, allocations: 15.97 kB / 1.073 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.3712, allocations: 4 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3712, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.342e-05/0.3712, allocations: 95.2 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3712, allocations: 0 / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002233/0.3715, allocations: 8 kB / 1.073 GB, free: 5.422 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.0001528/0.3716, allocations: 99.25 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.372, allocations: 67.92 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.372, allocations: 0 / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.3721, allocations: 35.95 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.3725, allocations: 19.88 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.3728, allocations: 129.4 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.3731, allocations: 0.6845 MB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.3731, allocations: 7.984 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.3731, allocations: 7.438 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.3732, allocations: 0 / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of Templates: time 0.002755/0.3759, allocations: 0.6825 MB / 1.074 GB, free: 3.645 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