Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001907/0.001907, allocations: 196.2 kB / 16.25 MB, free: 6.637 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 472.6 MB / 0.7449 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.05 kB / 0.9116 GB, free: 33.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3657, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002606/0.3683, allocations: 0.7633 MB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3696, allocations: 0.8118 MB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.3696, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.445e-05/0.3697, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.042e-05/0.3698, allocations: 3.938 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.3699, allocations: 15.98 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.37, allocations: 47.86 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.3702, allocations: 11.97 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.3702, allocations: 23.92 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.744e-05/0.3703, allocations: 15.92 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.3703, allocations: 4 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.3704, allocations: 7.938 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.3704, allocations: 4 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.425e-05/0.3704, allocations: 27.86 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.162e-05/0.3705, allocations: 35.88 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3705, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3705, allocations: 0 / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3705, allocations: 3.938 kB / 1.069 GB, free: 8.992 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.000529/0.3711, allocations: 361.2 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3711, allocations: 12.03 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.3712, allocations: 4.844 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.3713, allocations: 180.3 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3713, allocations: 4.375 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.3713, allocations: 4.375 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.3716, allocations: 66.22 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3716, allocations: 192 / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3716, allocations: 7.922 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3716, allocations: 0 / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.3719, allocations: 67.88 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.3724, allocations: 268.9 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.3726, allocations: 54.47 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.3728, allocations: 40.92 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.3728, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.3728, allocations: 42.48 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.3728, allocations: 0 / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005832/0.3734, allocations: 125.6 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.3735, allocations: 55.41 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.3736, allocations: 105.8 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3736, allocations: 25.7 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.3737, allocations: 96.03 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.3737, allocations: 3.906 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.3738, allocations: 17.72 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3739, allocations: 314.8 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.3741, allocations: 31.95 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.3743, allocations: 31.97 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.3745, allocations: 76.66 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3746, allocations: 3.938 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003175/0.3749, allocations: 93.62 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3749, allocations: 8 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3749, allocations: 0 / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3749, allocations: 0 / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3751, allocations: 23.97 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3751, allocations: 0 / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.971e-05/0.3752, allocations: 7.984 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3752, allocations: 4 kB / 1.072 GB, free: 6.672 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.957e-05/0.3753, allocations: 115.5 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.3753, allocations: 11.91 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.3757, allocations: 109.8 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3757, allocations: 4 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3757, allocations: 3.984 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3757, allocations: 7.969 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.3759, allocations: 169.6 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.376, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.529e-05/0.3761, allocations: 11.98 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3761, allocations: 4 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.3761, allocations: 4 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.3761, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3761, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.3765, allocations: 199.3 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.3765, allocations: 84.95 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.3765, allocations: 8 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3766, allocations: 7.984 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3767, allocations: 7.984 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.3767, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.059e-05/0.3768, allocations: 91.27 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3768, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002196/0.377, allocations: 4 kB / 1.072 GB, free: 5.738 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.0001731/0.3772, allocations: 103.2 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003585/0.3775, allocations: 71.86 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3776, allocations: 4 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.3777, allocations: 31.97 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.378, allocations: 20.95 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.3784, allocations: 133.5 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.3787, allocations: 0.6807 MB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.09e-05/0.3787, allocations: 0 / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.405e-05/0.3788, allocations: 19.42 kB / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.3788, allocations: 0 / 1.073 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of Templates: time 0.002845/0.3816, allocations: 0.5661 MB / 1.074 GB, free: 4.062 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches