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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001221/0.001221, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.01288/0.01288, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.602/1.602, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.048/3.048, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003964, allocations: 12.09 kB / 0.9028 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3437, allocations: 159.6 MB / 1.059 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.0008708/0.3446, allocations: 440.4 kB / 1.059 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008852/0.3455, allocations: 0.804 MB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.3456, allocations: 0 / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.296e-05/0.3456, allocations: 11.92 kB / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.258e-05/0.3457, allocations: 3.984 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.3458, allocations: 11.98 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.874e-05/0.3459, allocations: 47.8 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.346, allocations: 4 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.3461, allocations: 11.98 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.3462, allocations: 19.92 kB / 1.06 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3462, allocations: 3.938 kB / 1.06 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.3462, allocations: 8 kB / 1.06 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.3463, allocations: 3.984 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.3463, allocations: 37.64 kB / 1.06 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.878e-05/0.3464, allocations: 47.78 kB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3464, allocations: 4 kB / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3464, allocations: 0 / 1.06 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3464, allocations: 0 / 1.06 GB, free: 3.988 MB / 0.8106 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.000496/0.3469, allocations: 363.6 kB / 1.06 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.347, allocations: 12.03 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/0.347, allocations: 4.938 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3471, allocations: 184.2 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3471, allocations: 384 / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.3472, allocations: 4.375 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.3474, allocations: 78.22 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.3475, allocations: 192 / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3475, allocations: 3.938 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3475, allocations: 4 kB / 1.061 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003224/0.3478, allocations: 87.86 kB / 1.061 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.3482, allocations: 272.9 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.3484, allocations: 66.47 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.3486, allocations: 48.92 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3486, allocations: 0 / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.3486, allocations: 34.56 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.3487, allocations: 0 / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006294/0.3493, allocations: 173.4 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.3493, allocations: 51.41 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.3494, allocations: 109.8 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3494, allocations: 25.7 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.3495, allocations: 84.14 kB / 1.062 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.3495, allocations: 3.906 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.3496, allocations: 17.7 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3497, allocations: 318.8 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.3498, allocations: 39.97 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.35, allocations: 47.95 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.3503, allocations: 88.78 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3503, allocations: 3.938 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003553/0.3507, allocations: 125.5 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3507, allocations: 4 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.3507, allocations: 0 / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.3508, allocations: 8.266 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.3509, allocations: 19.98 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3509, allocations: 4 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.771e-05/0.351, allocations: 19.97 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.351, allocations: 0 / 1.062 GB, free: 1.5 MB / 0.8106 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.322e-05/0.3511, allocations: 115.3 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.508e-05/0.3511, allocations: 4 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.3515, allocations: 137.4 kB / 1.063 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3515, allocations: 4 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3516, allocations: 0 / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3516, allocations: 0 / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.3517, allocations: 173.6 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3517, allocations: 3.984 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3519, allocations: 19.98 kB / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3519, allocations: 0 / 1.063 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3519, allocations: 4 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3519, allocations: 0 / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3519, allocations: 0 / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.3523, allocations: 219.3 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.3523, allocations: 85.05 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3524, allocations: 11.94 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.3525, allocations: 19.98 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.347e-05/0.3525, allocations: 7.922 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3525, allocations: 0 / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.3526, allocations: 87.28 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3526, allocations: 0 / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002168/0.3528, allocations: 8 kB / 1.063 GB, free: 0.5156 MB / 0.8106 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.0001643/0.353, allocations: 95.25 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.3534, allocations: 95.91 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3534, allocations: 0 / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.3535, allocations: 43.97 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.3539, allocations: 13.81 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.3542, allocations: 154.3 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.3545, allocations: 0.677 MB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.3545, allocations: 4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.3545, allocations: 7.438 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3545, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of Templates: time 0.002672/0.3572, allocations: 0.5438 MB / 1.065 GB, free: 14.84 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