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.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.0009732/0.0009732, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009343/0.0009343, allocations: 169 kB / 23.02 MB, free: 1.543 MB / 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 0.9827/0.9827, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.146/2.146, allocations: 429.5 MB / 0.6732 GB, free: 4.055 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 0.8782 GB, free: 6.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.086e-05, allocations: 3.469 kB / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.004754/0.004775, allocations: 0.7239 MB / 0.8789 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008657/0.005641, allocations: 0.8455 MB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.005679, allocations: 4 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.005711, allocations: 3.938 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.005783, allocations: 10.91 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001043/0.005887, allocations: 11.98 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.338e-05/0.00597, allocations: 47.84 kB / 0.8798 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.961e-05/0.00606, allocations: 7.984 kB / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.304e-05/0.006143, allocations: 22.64 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.006189, allocations: 23.84 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.006212, allocations: 4 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.006222, allocations: 4 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.006239, allocations: 4 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.006267, allocations: 15.92 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.691e-05/0.006354, allocations: 35.89 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.006356, allocations: 0.7188 kB / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.72e-07/0.006357, allocations: 0 / 0.88 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.006361, allocations: 1.656 kB / 0.88 GB, free: 4.484 MB / 0.8386 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.0003746/0.006736, allocations: 376.5 kB / 0.8803 GB, free: 4.078 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.006773, allocations: 8.031 kB / 0.8803 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.006815, allocations: 12.92 kB / 0.8803 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.854e-05/0.006903, allocations: 117 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.006914, allocations: 1.719 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.006924, allocations: 384 / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.007071, allocations: 70.88 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.007078, allocations: 1.781 kB / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.007087, allocations: 384 / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.007094, allocations: 384 / 0.8805 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.681e-05/0.007131, allocations: 11.92 kB / 0.8805 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00331/0.01044, allocations: 259.9 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.885e-05/0.01052, allocations: 39 kB / 0.8808 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.01055, allocations: 19.7 kB / 0.8808 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.01057, allocations: 0 / 0.8808 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.01059, allocations: 37.39 kB / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.01059, allocations: 0 / 0.8809 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001678/0.01076, allocations: 53.58 kB / 0.8809 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.01079, allocations: 51.41 kB / 0.881 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.674e-05/0.01086, allocations: 165.9 kB / 0.8811 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.01087, allocations: 25.7 kB / 0.8812 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.01092, allocations: 138.9 kB / 0.8813 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.01094, allocations: 7.906 kB / 0.8813 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.01097, allocations: 23.38 kB / 0.8813 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.0111, allocations: 0.4884 MB / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.01111, allocations: 3.938 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.01113, allocations: 8 kB / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.01117, allocations: 15.67 kB / 0.8818 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01117, allocations: 0 / 0.8818 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.339e-05/0.01124, allocations: 41.7 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.01126, allocations: 7.938 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.01127, allocations: 0 / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.01128, allocations: 12 kB / 0.8819 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.01136, allocations: 11.98 kB / 0.8819 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01137, allocations: 3.938 kB / 0.8819 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.999e-05/0.0114, allocations: 7.984 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.0114, allocations: 0 / 0.8819 GB, free: 2.285 MB / 0.8386 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.284e-05/0.01147, allocations: 156.6 kB / 0.8821 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.01149, allocations: 7.953 kB / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.424e-05/0.01159, allocations: 49.95 kB / 0.8821 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01159, allocations: 8.031 kB / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.01159, allocations: 7.984 kB / 0.8821 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.0116, allocations: 0 / 0.8821 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.01172, allocations: 128.5 kB / 0.8822 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01172, allocations: 0 / 0.8822 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.01175, allocations: 8 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.01175, allocations: 0 / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.01176, allocations: 0 / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01176, allocations: 7.875 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01177, allocations: 7.922 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.01188, allocations: 188 kB / 0.8824 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-06/0.01189, allocations: 11.94 kB / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.0119, allocations: 8 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.579e-05/0.01195, allocations: 7.938 kB / 0.8825 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.01199, allocations: 7.984 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.012, allocations: 0 / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.01204, allocations: 131.2 kB / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01204, allocations: 0 / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002167/0.01225, allocations: 8 kB / 0.8826 GB, free: 1.484 MB / 0.8386 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.362e-05/0.01233, allocations: 93.25 kB / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.631e-05/0.01241, allocations: 19.62 kB / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01242, allocations: 8 kB / 0.8827 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.01244, allocations: 19.67 kB / 0.8828 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.01269, allocations: 4 kB / 0.8828 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002752/0.01296, allocations: 130.2 kB / 0.8829 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.612e-05/0.013, allocations: 55.36 kB / 0.8829 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.07e-05/0.01302, allocations: 0 / 0.8829 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.01305, allocations: 20.5 kB / 0.883 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/0.01305, allocations: 0 / 0.883 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of Templates: time 0.00357/0.01662, allocations: 0.7943 MB / 0.8837 GB, free: 300 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] 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","",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.403696050867438]