Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 103.9 kB / 16.41 MB, free: 5.973 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.001141/0.001141, allocations: 188.5 kB / 17.34 MB, free: 5.586 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.27/1.27, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.498/2.498, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 68.11 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6904, allocations: 159.1 MB / 1.221 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001886/0.6924, allocations: 0.6617 MB / 1.222 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008681/0.6932, allocations: 0.8429 MB / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.181e-05/0.6933, allocations: 3.938 kB / 1.222 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.6933, allocations: 4 kB / 1.222 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.6934, allocations: 7.938 kB / 1.222 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.6936, allocations: 7.984 kB / 1.222 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.049e-05/0.6936, allocations: 23.94 kB / 1.222 GB, free: 0.7656 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.398e-05/0.6937, allocations: 11.98 kB / 1.222 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.77e-05/0.6938, allocations: 7.938 kB / 1.222 GB, free: 0.7461 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.182e-05/0.6939, allocations: 15.97 kB / 1.222 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.6939, allocations: 0 / 1.222 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.6939, allocations: 4 kB / 1.223 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.6939, allocations: 8 kB / 1.223 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.516e-05/0.6939, allocations: 7.938 kB / 1.223 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.84e-05/0.694, allocations: 23.89 kB / 1.223 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.694, allocations: 0 / 1.223 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.343e-06/0.694, allocations: 0 / 1.223 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.694, allocations: 0 / 1.223 GB, free: 0.6875 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004133/0.6945, allocations: 335.5 kB / 1.223 GB, free: 316 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.6945, allocations: 12.62 kB / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.6945, allocations: 0.9375 kB / 1.223 GB, free: 304 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.6947, allocations: 172.2 kB / 1.223 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.6947, allocations: 384 / 1.223 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.6947, allocations: 8.312 kB / 1.223 GB, free: 88 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.6949, allocations: 50.23 kB / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.6949, allocations: 192 / 1.223 GB, free: 32 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.6949, allocations: 3.938 kB / 1.223 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.6949, allocations: 0 / 1.223 GB, free: 28 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.6951, allocations: 36.02 kB / 1.223 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.6954, allocations: 248.8 kB / 1.223 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.6955, allocations: 42.44 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.2e-05/0.6956, allocations: 20.89 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.6956, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.6957, allocations: 46.56 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.6957, allocations: 3.938 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003155/0.696, allocations: 73.64 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.696, allocations: 51.41 kB / 1.224 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.6961, allocations: 105.9 kB / 1.224 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.6961, allocations: 25.83 kB / 1.224 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.381e-05/0.6962, allocations: 84.14 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.6962, allocations: 15.88 kB / 1.224 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.6962, allocations: 13.72 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.6963, allocations: 310.8 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.847e-05/0.6964, allocations: 15.98 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.095e-05/0.6965, allocations: 23.91 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.6966, allocations: 40.89 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6966, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.6968, allocations: 69.59 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6969, allocations: 8 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6969, allocations: 48 / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.6969, allocations: 7.922 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.697, allocations: 8.031 kB / 1.224 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.697, allocations: 3.984 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.697, allocations: 4 kB / 1.224 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/0.6971, allocations: 4 kB / 1.224 GB, free: 14.66 MB / 0.9512 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 (2): * Single equations (assignments): 2 * 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 6.173e-05/0.6971, allocations: 110.3 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.6971, allocations: 0 / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.6972, allocations: 15.11 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6972, allocations: 0 / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.6972, allocations: 4 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.6972, allocations: 0 / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.6974, allocations: 157.6 kB / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6974, allocations: 0 / 1.225 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.6974, allocations: 11.98 kB / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6974, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.6974, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.6974, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.6975, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.6977, allocations: 175.3 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.6977, allocations: 77.11 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.6978, allocations: 3.938 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.6978, allocations: 7.984 kB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.6979, allocations: 4 kB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.6979, allocations: 0 / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.019e-05/0.698, allocations: 87.3 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.698, allocations: 0 / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002211/0.6982, allocations: 4 kB / 1.225 GB, free: 13.92 MB / 0.9512 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 (2): * Single equations (assignments): 2 * 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.0001382/0.6984, allocations: 99.25 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.6986, allocations: 31.97 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6986, allocations: 0 / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.6987, allocations: 27.97 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.699, allocations: 13.77 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.6994, allocations: 139.2 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.6997, allocations: 0.6768 MB / 1.226 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.6997, allocations: 11.38 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.6997, allocations: 0 / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of Templates: time 0.001918/0.7017, allocations: 0.5355 MB / 1.226 GB, free: 12.32 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches