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.001174/0.001174, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001582/0.001583, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.012/3.012, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003534, allocations: 11.69 kB / 0.9021 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4257/0.4261, allocations: 159.6 MB / 1.058 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001367/0.4275, allocations: 424.6 kB / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.4291, allocations: 0.8002 MB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.4292, allocations: 0 / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.4292, allocations: 0 / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.4294, allocations: 7.875 kB / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.4296, allocations: 11.98 kB / 1.059 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.4297, allocations: 39.8 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/0.4299, allocations: 19.98 kB / 1.059 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.4301, allocations: 11.92 kB / 1.059 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.511e-05/0.4302, allocations: 19.91 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.4302, allocations: 4 kB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.56e-05/0.4302, allocations: 0 / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.821e-05/0.4303, allocations: 4 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.367e-05/0.4303, allocations: 29.7 kB / 1.059 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.4304, allocations: 27.94 kB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.4305, allocations: 4 kB / 1.059 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.566e-06/0.4305, allocations: 4 kB / 1.059 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.4305, allocations: 0 / 1.059 GB, free: 3.938 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.0008528/0.4313, allocations: 367.4 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.508e-05/0.4314, allocations: 12.03 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.4315, allocations: 4 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.4318, allocations: 171 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4318, allocations: 0 / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.4319, allocations: 7.953 kB / 1.06 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003495/0.4322, allocations: 77.64 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4323, allocations: 4 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.4323, allocations: 0 / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.4323, allocations: 4 kB / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003329/0.4326, allocations: 83.92 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/0.4333, allocations: 272.8 kB / 1.06 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.4336, allocations: 70.53 kB / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.4337, allocations: 48.91 kB / 1.06 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-05/0.4338, allocations: 7.984 kB / 1.06 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.4338, allocations: 30.56 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.174e-06/0.4339, allocations: 0 / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0006231/0.4345, allocations: 161.5 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/0.4346, allocations: 51.41 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.4347, allocations: 113.8 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.4348, allocations: 25.7 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.4348, allocations: 92.03 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.4349, allocations: 7.906 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.4349, allocations: 0 / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4351, allocations: 322.7 kB / 1.061 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.4352, allocations: 43.95 kB / 1.061 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.4354, allocations: 39.97 kB / 1.061 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.4355, allocations: 48.23 kB / 1.061 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4356, allocations: 3.938 kB / 1.061 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002984/0.4359, allocations: 125.5 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4359, allocations: 4 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.4359, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.4359, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.4361, allocations: 23.98 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4361, allocations: 0 / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.4362, allocations: 23.97 kB / 1.062 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.4362, allocations: 0 / 1.062 GB, free: 1.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001304/0.4363, allocations: 113.8 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.4364, allocations: 11.91 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.4368, allocations: 129.5 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4368, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4368, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4368, allocations: 0 / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.437, allocations: 173.6 kB / 1.062 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.437, allocations: 4 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.868e-05/0.4371, allocations: 19.98 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4371, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.4371, allocations: 8 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4371, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4371, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.4375, allocations: 219.4 kB / 1.062 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.4376, allocations: 85 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4376, allocations: 0 / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4377, allocations: 19.98 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.4378, allocations: 7.984 kB / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.4378, allocations: 0 / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.4379, allocations: 91.22 kB / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4379, allocations: 0 / 1.062 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002148/0.4381, allocations: 4 kB / 1.062 GB, free: 0.5469 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002163/0.4383, allocations: 103.2 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.4386, allocations: 91.86 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4387, allocations: 4 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.4388, allocations: 47.97 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.4392, allocations: 7.938 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.4396, allocations: 140.5 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.44, allocations: 0.6809 MB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.44, allocations: 3.938 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.44, allocations: 7.438 kB / 1.063 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.44, allocations: 4 kB / 1.063 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of Templates: time 0.003435/0.4435, allocations: 0.5232 MB / 1.064 GB, free: 14.89 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