Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.003592/0.003592, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001924/0.001924, allocations: 165 kB / 23.82 MB, free: 0.75 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.9113/0.9113, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.947/1.947, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 0 / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.587e-05/3.86e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002401/0.002439, allocations: 0.7198 MB / 0.8123 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003485, allocations: 0.8517 MB / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.641e-05/0.003531, allocations: 0 / 0.8131 GB, free: 100 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.053e-05/0.003572, allocations: 8.578 kB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.172e-05/0.003653, allocations: 4.812 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.00378, allocations: 15.98 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.764e-05/0.003867, allocations: 37.08 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.003996, allocations: 15.97 kB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.004107, allocations: 24 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.094e-05/0.004158, allocations: 13.48 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.004184, allocations: 7.938 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.004196, allocations: 4 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.004221, allocations: 11.92 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.787e-05/0.004249, allocations: 9.531 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.004356, allocations: 39.75 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.004359, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.793e-06/0.004361, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.004369, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 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.0004358/0.004805, allocations: 374.4 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.004851, allocations: 12.02 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.004895, allocations: 8.891 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.68e-05/0.004991, allocations: 116.5 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.005003, allocations: 5.688 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.005013, allocations: 4.375 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.005174, allocations: 63.47 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.005181, allocations: 4.125 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.005191, allocations: 1.562 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.005198, allocations: 384 / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.005232, allocations: 11.94 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.005567, allocations: 260.4 kB / 0.8141 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.359e-05/0.00565, allocations: 33.09 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.005684, allocations: 15.62 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.005704, allocations: 4 kB / 0.8142 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.005729, allocations: 37.47 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.005731, allocations: 0 / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001774/0.005909, allocations: 50.16 kB / 0.8143 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.005944, allocations: 52.12 kB / 0.8143 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.632e-05/0.00603, allocations: 169.9 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.006042, allocations: 31.12 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.006087, allocations: 134.8 kB / 0.8146 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.006106, allocations: 7.953 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.006135, allocations: 19.38 kB / 0.8147 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.006256, allocations: 0.489 MB / 0.8151 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.00628, allocations: 7.875 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.439e-05/0.006294, allocations: 5.031 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.006334, allocations: 19.69 kB / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006336, allocations: 0 / 0.8152 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.053e-05/0.006407, allocations: 46.39 kB / 0.8152 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.006421, allocations: 11.94 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.006428, allocations: 0.6875 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.006443, allocations: 5.281 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.816e-05/0.006541, allocations: 11.98 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.006548, allocations: 3.938 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.006572, allocations: 4.812 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.00658, allocations: 0 / 0.8153 GB, free: 13.73 MB / 0.7761 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 7.427e-05/0.006654, allocations: 161.5 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.006669, allocations: 0 / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.006785, allocations: 58.97 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.006787, allocations: 0 / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.006791, allocations: 0 / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006794, allocations: 0 / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.006896, allocations: 129.5 kB / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006898, allocations: 0 / 0.8156 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.006945, allocations: 14.3 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006946, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.006953, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.006956, allocations: 3.938 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.00696, allocations: 3.938 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.007073, allocations: 195.9 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-06/0.00708, allocations: 0 / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.00709, allocations: 3.438 kB / 0.8158 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.379e-05/0.007134, allocations: 11.92 kB / 0.8158 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.007178, allocations: 11.98 kB / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.007182, allocations: 432 / 0.8158 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.007227, allocations: 127.5 kB / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007227, allocations: 0 / 0.816 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001414/0.007369, allocations: 8 kB / 0.816 GB, free: 12.95 MB / 0.7761 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 0.0001122/0.007481, allocations: 100 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.007585, allocations: 23.61 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007588, allocations: 4.438 kB / 0.8161 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.354e-05/0.007611, allocations: 16.23 kB / 0.8161 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.007841, allocations: 20.44 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.008198, allocations: 130.5 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.008242, allocations: 59.34 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.008267, allocations: 1.75 kB / 0.8163 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.008301, allocations: 8.5 kB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of SimCode: time 1.062e-06/0.008302, allocations: 4 kB / 0.8163 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of Templates: time 0.002612/0.01091, allocations: 0.7898 MB / 0.8171 GB, free: 11.77 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.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.2308817389421165]