Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 108 kB / 15.6 MB, free: 132 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.002039/0.002039, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.508/2.508, allocations: 390.2 MB / 0.6646 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8912/0.8925, allocations: 140.3 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.002453/0.8951, allocations: 0.6659 MB / 0.9502 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.8963, allocations: 0.845 MB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.8963, allocations: 0 / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.8964, allocations: 5.75 kB / 0.9511 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.369e-05/0.8965, allocations: 3.984 kB / 0.9511 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.8967, allocations: 9.594 kB / 0.9511 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.605e-05/0.8968, allocations: 21.73 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.8969, allocations: 10.75 kB / 0.9511 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/0.897, allocations: 16.02 kB / 0.9511 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.897, allocations: 14.86 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.8971, allocations: 1.25 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.8971, allocations: 3.406 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.8971, allocations: 0 / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.8971, allocations: 13.42 kB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.507e-05/0.8972, allocations: 20.12 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8972, allocations: 1.062 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8973, allocations: 0 / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.8973, allocations: 0 / 0.9512 GB, free: 7.949 MB / 0.7169 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.0004365/0.8977, allocations: 343.4 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.8978, allocations: 9.156 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.8978, allocations: 2.375 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.8979, allocations: 169.7 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.8979, allocations: 4.375 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.898, allocations: 1.719 kB / 0.9517 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.8982, allocations: 50.33 kB / 0.9517 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.8982, allocations: 8.125 kB / 0.9517 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.8982, allocations: 3.938 kB / 0.9517 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.8982, allocations: 1.188 kB / 0.9517 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.8984, allocations: 30.5 kB / 0.9518 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.8987, allocations: 245.3 kB / 0.952 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.8989, allocations: 42.31 kB / 0.9521 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.899, allocations: 22.66 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.899, allocations: 1.844 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.899, allocations: 38.48 kB / 0.9521 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.899, allocations: 0 / 0.9521 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003627/0.8994, allocations: 80.09 kB / 0.9522 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.8994, allocations: 52.62 kB / 0.9522 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.802e-05/0.8995, allocations: 107.5 kB / 0.9523 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.8995, allocations: 25.7 kB / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.995e-05/0.8996, allocations: 81.61 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.8996, allocations: 11.84 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.8996, allocations: 17.17 kB / 0.9525 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.8997, allocations: 315 kB / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.8998, allocations: 21.67 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.089e-05/0.8999, allocations: 16.8 kB / 0.9528 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.9, allocations: 40.31 kB / 0.9528 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9, allocations: 0 / 0.9528 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001852/0.9002, allocations: 71.73 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.9002, allocations: 5.094 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.9003, allocations: 9.109 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.9003, allocations: 0 / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.9004, allocations: 6.125 kB / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.9004, allocations: 0 / 0.9529 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.9005, allocations: 8.453 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-06/0.9005, allocations: 0 / 0.9529 GB, free: 6.125 MB / 0.7169 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 7.623e-05/0.9006, allocations: 120.2 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.9006, allocations: 5.156 kB / 0.9531 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.9006, allocations: 7.125 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9007, allocations: 1.312 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.9007, allocations: 3.984 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.9007, allocations: 5.219 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.9008, allocations: 157.5 kB / 0.9532 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9008, allocations: 0 / 0.9532 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.103e-05/0.9009, allocations: 10.42 kB / 0.9532 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9009, allocations: 4 kB / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.9009, allocations: 1.188 kB / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9009, allocations: 0 / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9009, allocations: 1.281 kB / 0.9532 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.9012, allocations: 158.3 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.9012, allocations: 78.48 kB / 0.9535 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.9012, allocations: 8.031 kB / 0.9535 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.9013, allocations: 8.047 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.9014, allocations: 1.281 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.9014, allocations: 5.25 kB / 0.9535 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.9014, allocations: 78.06 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9014, allocations: 0 / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002127/0.9016, allocations: 3.781 kB / 0.9536 GB, free: 5.441 MB / 0.7169 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.0001935/0.9018, allocations: 106 kB / 0.9537 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002596/0.9021, allocations: 37.09 kB / 0.9537 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9021, allocations: 3.938 kB / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.05e-05/0.9022, allocations: 19.34 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.9026, allocations: 12.59 kB / 0.9537 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.903, allocations: 116.5 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.9032, allocations: 0.6774 MB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.9032, allocations: 1.875 kB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.9032, allocations: 11.42 kB / 0.9545 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.9032, allocations: 0 / 0.9545 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of Templates: time 0.003267/0.9065, allocations: 436.9 kB / 0.9549 GB, free: 4.258 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches