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.001176/0.001176, 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.001429/0.001429, allocations: 195.5 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.006/3.006, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 66.72 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4063, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002302/0.4087, allocations: 0.7095 MB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.4097, allocations: 0.81 MB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.4097, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.316e-05/0.4098, allocations: 0 / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.4099, allocations: 15.86 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.41, allocations: 11.98 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.353e-05/0.4101, allocations: 43.86 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.4102, allocations: 15.98 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.47e-05/0.4103, allocations: 15.94 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.4103, allocations: 19.91 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.4104, allocations: 4 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.4104, allocations: 4 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.4104, allocations: 11.98 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.4105, allocations: 19.86 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.84e-05/0.4106, allocations: 35.88 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4106, allocations: 4 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.035e-06/0.4106, allocations: 4 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.4106, allocations: 0 / 1.07 GB, free: 8.648 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.0005872/0.4112, allocations: 351.7 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.4112, allocations: 15.97 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.4113, allocations: 8.828 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.4114, allocations: 168.3 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.4114, allocations: 4.375 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.4115, allocations: 8.375 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.4117, allocations: 66.22 kB / 1.071 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.4118, allocations: 4.188 kB / 1.071 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4118, allocations: 3.938 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4118, allocations: 0 / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.4121, allocations: 67.92 kB / 1.071 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004075/0.4125, allocations: 272.8 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.4127, allocations: 58.47 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.4129, allocations: 40.92 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.4129, allocations: 0 / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.4131, allocations: 34.56 kB / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.4131, allocations: 0 / 1.071 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005836/0.4137, allocations: 137.5 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.4137, allocations: 55.34 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.941e-05/0.4139, allocations: 105.8 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.4139, allocations: 25.7 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.4139, allocations: 92.05 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.414, allocations: 7.891 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.414, allocations: 17.72 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4142, allocations: 310.8 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.4143, allocations: 35.95 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.4145, allocations: 31.97 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002786/0.4148, allocations: 72.72 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/0.4148, allocations: 7.938 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003406/0.4151, allocations: 97.56 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.4151, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4152, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4152, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4153, allocations: 19.97 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4153, allocations: 0 / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/0.4154, allocations: 15.98 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.4154, allocations: 0 / 1.072 GB, free: 6.324 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 8.987e-05/0.4155, allocations: 114.3 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.4156, allocations: 8.234 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.416, allocations: 117.4 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.416, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.416, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.416, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.4162, allocations: 173.6 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4162, allocations: 0 / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.883e-05/0.4163, allocations: 15.98 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4163, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.4163, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.4163, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4163, allocations: 4 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.4167, allocations: 199.3 kB / 1.073 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.4168, allocations: 88.95 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.4168, allocations: 0 / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4169, allocations: 19.98 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.417, allocations: 3.984 kB / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.417, allocations: 0 / 1.073 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.417, allocations: 87.28 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.417, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002204/0.4173, allocations: 4 kB / 1.073 GB, free: 5.398 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.0001865/0.4175, allocations: 103.2 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.4178, allocations: 79.86 kB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4179, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.418, allocations: 35.91 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.4184, allocations: 15.86 kB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004014/0.4188, allocations: 137.3 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.419, allocations: 0.6768 MB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.092e-05/0.4191, allocations: 4 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.4191, allocations: 7.438 kB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.4191, allocations: 0 / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of Templates: time 0.002893/0.422, allocations: 0.6693 MB / 1.074 GB, free: 3.621 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