Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 84.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.919/1.919, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der1.y|intWitRes.u|der2.y|der1.T",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.828e-06/3.828e-06, allocations: 0 / 0.7601 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.679e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.003183/0.003219, allocations: 1.09 MB / 0.7612 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.0053, allocations: 1.067 MB / 0.7622 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.005472, allocations: 5.125 kB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.005638, allocations: 16.95 kB / 0.7623 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.07e-05/0.005729, allocations: 22.72 kB / 0.7623 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.006113, allocations: 76.98 kB / 0.7624 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.006371, allocations: 177.1 kB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.006568, allocations: 61.81 kB / 0.7626 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001986/0.006767, allocations: 104.5 kB / 0.7627 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.006879, allocations: 55.78 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.006913, allocations: 20.75 kB / 0.7628 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.948e-05/0.007003, allocations: 20 kB / 0.7628 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.808e-05/0.007051, allocations: 44.58 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.007105, allocations: 47.89 kB / 0.7629 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.007354, allocations: 129.6 kB / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.007357, allocations: 0 / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.493e-06/0.007359, allocations: 0 / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.007364, allocations: 0 / 0.763 GB, free: 3.625 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006505/0.008014, allocations: 381.6 kB / 0.7634 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.008059, allocations: 8.031 kB / 0.7634 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.008207, allocations: 28.86 kB / 0.7634 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.008444, allocations: 151.3 kB / 0.7635 GB, free: 3.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.008472, allocations: 16.38 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.008507, allocations: 16.38 kB / 0.7636 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.008751, allocations: 147.2 kB / 0.7637 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.008762, allocations: 4.172 kB / 0.7637 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.008782, allocations: 12.12 kB / 0.7637 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.008791, allocations: 4.531 kB / 0.7637 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.282e-05/0.008874, allocations: 36.56 kB / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.009622, allocations: 327.4 kB / 0.7641 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.009863, allocations: 78.47 kB / 0.7641 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.009923, allocations: 36.84 kB / 0.7642 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.009947, allocations: 4 kB / 0.7642 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.0101, allocations: 114.5 kB / 0.7643 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 2.174e-06/0.0101, allocations: 2.781 kB / 0.7643 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0002403/0.01034, allocations: 111.8 kB / 0.7644 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.01038, allocations: 59.34 kB / 0.7645 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.0105, allocations: 152.4 kB / 0.7646 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.01052, allocations: 29.7 kB / 0.7646 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.01058, allocations: 112.5 kB / 0.7647 GB, free: 1.695 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.01064, allocations: 67.41 kB / 0.7648 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.01071, allocations: 39.09 kB / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.01082, allocations: 334.8 kB / 0.7652 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.149e-05/0.0109, allocations: 20 kB / 0.7652 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.599e-05/0.01096, allocations: 47.34 kB / 0.7652 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.01129, allocations: 72.78 kB / 0.7653 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.0113, allocations: 7.875 kB / 0.7653 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001866/0.01149, allocations: 106.8 kB / 0.7654 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.0115, allocations: 4 kB / 0.7654 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.423e-06/0.01151, allocations: 0 / 0.7654 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.01153, allocations: 7.938 kB / 0.7654 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.01169, allocations: 39.91 kB / 0.7655 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.0117, allocations: 4 kB / 0.7655 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.01177, allocations: 19.02 kB / 0.7655 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.01179, allocations: 7.984 kB / 0.7655 GB, free: 0.9141 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 9.618e-05/0.01188, allocations: 121.8 kB / 0.7656 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.01191, allocations: 15.98 kB / 0.7656 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.01212, allocations: 110.7 kB / 0.7657 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01213, allocations: 3.938 kB / 0.7657 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.01213, allocations: 1.812 kB / 0.7657 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.01213, allocations: 0 / 0.7657 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005022/0.01264, allocations: 377 kB / 0.7661 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.01264, allocations: 4 kB / 0.7661 GB, free: 244 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.01279, allocations: 31.92 kB / 0.7661 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.0128, allocations: 5.281 kB / 0.7661 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.01282, allocations: 11.98 kB / 0.7661 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.01283, allocations: 0 / 0.7661 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.01283, allocations: 4.562 kB / 0.7661 GB, free: 192 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.01314, allocations: 259.7 kB / 0.7664 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.01317, allocations: 20.34 kB / 0.7664 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.01319, allocations: 11.98 kB / 0.7664 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.0133, allocations: 4.75 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.2e-05/0.01337, allocations: 32.45 kB / 0.7665 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.01338, allocations: 4 kB / 0.7665 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.045e-05/0.01342, allocations: 38.09 kB / 0.7665 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01342, allocations: 0 / 0.7665 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002762/0.01369, allocations: 31.95 kB / 0.7665 GB, free: 15.76 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.000139/0.01383, allocations: 93.41 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.01402, allocations: 88.34 kB / 0.7667 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.01402, allocations: 4 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.513e-05/0.01411, allocations: 58.28 kB / 0.7668 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.01439, allocations: 24.78 kB / 0.7668 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008639/0.01526, allocations: 367.6 kB / 0.7671 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.148e-05/0.01533, allocations: 78.5 kB / 0.7672 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.287e-05/0.0154, allocations: 13.48 kB / 0.7672 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.01553, allocations: 75.36 kB / 0.7673 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of SimCode: time 1.263e-06/0.01553, allocations: 2.594 kB / 0.7673 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.005534/0.02106, allocations: 1.862 MB / 0.7691 GB, free: 13.15 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Derivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.181790306698531]