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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.007525/0.007525, allocations: 100.5 kB / 15.87 MB, free: 5.867 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.00185/0.00185, allocations: 191.2 kB / 16.79 MB, free: 5.809 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.426/1.426, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.716/2.716, allocations: 461.8 MB / 0.7348 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 64.22 kB / 0.8991 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3398, allocations: 157.4 MB / 1.053 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002522/0.3424, allocations: 0.7612 MB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3434, allocations: 0.8118 MB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.3435, allocations: 0 / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.3435, allocations: 3.938 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.81e-05/0.3436, allocations: 8 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.3438, allocations: 7.984 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.3439, allocations: 43.8 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.344, allocations: 8 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.3441, allocations: 19.92 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.723e-05/0.3441, allocations: 23.84 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.3442, allocations: 4 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.3442, allocations: 4 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.3442, allocations: 7.984 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.3442, allocations: 23.86 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.604e-05/0.3443, allocations: 23.95 kB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3443, allocations: 0 / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3443, allocations: 0 / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3443, allocations: 0 / 1.054 GB, free: 6.438 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.0005754/0.3449, allocations: 367.6 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.345, allocations: 15.97 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.361e-05/0.345, allocations: 4.938 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3451, allocations: 180.2 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3452, allocations: 384 / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.3452, allocations: 4.375 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.3454, allocations: 70.2 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3455, allocations: 192 / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3455, allocations: 3.938 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.3455, allocations: 0 / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.3458, allocations: 67.92 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004013/0.3462, allocations: 268.9 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.3464, allocations: 54.48 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.3466, allocations: 44.91 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3466, allocations: 0 / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3466, allocations: 30.56 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3467, allocations: 0 / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000562/0.3472, allocations: 133.4 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3473, allocations: 59.39 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.3474, allocations: 101.9 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.3474, allocations: 29.7 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.3475, allocations: 88.12 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.3475, allocations: 15.8 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.3476, allocations: 17.72 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.3478, allocations: 318.8 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3479, allocations: 31.91 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3481, allocations: 31.95 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.3483, allocations: 64.8 kB / 1.056 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3483, allocations: 3.938 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003221/0.3487, allocations: 105.9 kB / 1.056 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3487, allocations: 8 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3487, allocations: 0 / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3487, allocations: 0 / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3489, allocations: 23.92 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3489, allocations: 0 / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.349, allocations: 7.984 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.349, allocations: 4 kB / 1.057 GB, free: 4.098 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 8.239e-05/0.3491, allocations: 113.8 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.3491, allocations: 15.88 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.3495, allocations: 105.5 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3495, allocations: 4 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.3495, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3495, allocations: 0 / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.3497, allocations: 169.6 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3497, allocations: 0 / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.724e-05/0.3498, allocations: 15.97 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.3498, allocations: 4 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.3498, allocations: 8 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3498, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3498, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.3502, allocations: 191.4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.3503, allocations: 84.95 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.3503, allocations: 11.98 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3504, allocations: 7.984 kB / 1.057 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.3505, allocations: 11.94 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3505, allocations: 0 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.3505, allocations: 87.27 kB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3505, allocations: 0 / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000216/0.3508, allocations: 8 kB / 1.057 GB, free: 3.172 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.0001595/0.3509, allocations: 103.2 kB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003368/0.3513, allocations: 63.92 kB / 1.057 GB, free: 3 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3513, allocations: 3.938 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.3514, allocations: 39.95 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.3517, allocations: 13.03 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.3521, allocations: 160.8 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3524, allocations: 0.6809 MB / 1.058 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.3524, allocations: 11.44 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of SimCode: time 2.8e-07/0.3524, allocations: 0 / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of Templates: time 0.002042/0.3545, allocations: 0.7362 MB / 1.059 GB, free: 1.309 MB / 0.8106 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/jenkins1/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