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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007647/0.007647, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001944/0.001944, allocations: 196.2 kB / 16.79 MB, free: 6.254 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.2 MB / 0.6649 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 72.12 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7014/0.703, allocations: 140.3 MB / 0.9496 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Abs): time 0.001859/0.7049, allocations: 0.7221 MB / 0.9503 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.7058, allocations: 0.8475 MB / 0.9511 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.7058, allocations: 1.25 kB / 0.9511 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/0.7059, allocations: 0 / 0.9511 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.859e-05/0.7059, allocations: 0 / 0.9511 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.7061, allocations: 10.69 kB / 0.9512 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.711e-05/0.7062, allocations: 17.48 kB / 0.9512 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.7063, allocations: 6.719 kB / 0.9512 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.222e-05/0.7064, allocations: 12.05 kB / 0.9512 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.7064, allocations: 6.75 kB / 0.9512 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.7064, allocations: 5.375 kB / 0.9512 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.7065, allocations: 1.375 kB / 0.9512 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.7065, allocations: 11.91 kB / 0.9512 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.7065, allocations: 10.69 kB / 0.9512 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.594e-05/0.7066, allocations: 10.72 kB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.7066, allocations: 0 / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7066, allocations: 1.375 kB / 0.9512 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.7066, allocations: 3.938 kB / 0.9512 GB, free: 8.027 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.0004088/0.707, allocations: 341.7 kB / 0.9516 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.7071, allocations: 13.62 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.7071, allocations: 2.312 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.653e-05/0.7072, allocations: 165.7 kB / 0.9517 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.7072, allocations: 5.734 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.7072, allocations: 1.75 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.7074, allocations: 49.23 kB / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.7074, allocations: 192 / 0.9518 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.7074, allocations: 5.312 kB / 0.9518 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.7075, allocations: 0 / 0.9518 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.7076, allocations: 41.77 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002816/0.7079, allocations: 245.2 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.708, allocations: 42.86 kB / 0.9521 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.919e-05/0.7081, allocations: 23.84 kB / 0.9521 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.7081, allocations: 0 / 0.9521 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.7082, allocations: 35.94 kB / 0.9522 GB, free: 7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.7082, allocations: 0 / 0.9522 GB, free: 7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003439/0.7085, allocations: 83.83 kB / 0.9522 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.7085, allocations: 56.91 kB / 0.9523 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.7086, allocations: 102 kB / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.797e-06/0.7086, allocations: 27.08 kB / 0.9524 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.7087, allocations: 81.52 kB / 0.9525 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.7087, allocations: 7.844 kB / 0.9525 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.7087, allocations: 16.47 kB / 0.9525 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.267e-05/0.7088, allocations: 312.2 kB / 0.9528 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.12e-05/0.7089, allocations: 20.22 kB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.7089, allocations: 17.61 kB / 0.9529 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.7091, allocations: 40.02 kB / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7091, allocations: 0 / 0.9529 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000172/0.7093, allocations: 68.97 kB / 0.953 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.7093, allocations: 8.219 kB / 0.953 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.7093, allocations: 1.375 kB / 0.953 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.7093, allocations: 0 / 0.953 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.76e-05/0.7094, allocations: 10.52 kB / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.7094, allocations: 0 / 0.953 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.653e-05/0.7095, allocations: 12.5 kB / 0.953 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.7095, allocations: 0 / 0.953 GB, free: 6.207 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 5.258e-05/0.7095, allocations: 115.4 kB / 0.9531 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.7096, allocations: 5.531 kB / 0.9531 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.252e-05/0.7096, allocations: 7.125 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7096, allocations: 1.656 kB / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.7096, allocations: 0 / 0.9531 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.7096, allocations: 3.938 kB / 0.9531 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.7097, allocations: 158.1 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.7097, allocations: 3.984 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.7098, allocations: 13.84 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7098, allocations: 1.094 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.7098, allocations: 0 / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7098, allocations: 1.25 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7098, allocations: 4 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.71, allocations: 159.8 kB / 0.9534 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.7101, allocations: 81.09 kB / 0.9535 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.7101, allocations: 1.219 kB / 0.9535 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.7102, allocations: 6.875 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.7102, allocations: 10.92 kB / 0.9535 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.7102, allocations: 0 / 0.9535 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.502e-05/0.7102, allocations: 82.2 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7102, allocations: 1.25 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00021/0.7105, allocations: 2.906 kB / 0.9536 GB, free: 5.52 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.0001112/0.7106, allocations: 97.78 kB / 0.9537 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002007/0.7108, allocations: 45.27 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7108, allocations: 0 / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.7109, allocations: 18.89 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.7112, allocations: 9.016 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.7114, allocations: 128.9 kB / 0.9539 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.7115, allocations: 0.685 MB / 0.9546 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.7116, allocations: 9.125 kB / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.7116, allocations: 0 / 0.9546 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of Templates: time 0.001687/0.7133, allocations: 0.5369 MB / 0.9551 GB, free: 4.27 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/jenkins1/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