Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001307/0.001307, allocations: 92.22 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.001469/0.001469, allocations: 169 kB / 23.02 MB, free: 1.551 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.9731/0.9731, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.182/2.182, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8782 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.14e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001275/0.001296, allocations: 0.7195 MB / 0.8789 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007997/0.002096, allocations: 0.8518 MB / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.297e-05/0.002129, allocations: 0.875 kB / 0.8798 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.977e-05/0.002159, allocations: 3.938 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.002224, allocations: 11.97 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.924e-05/0.002283, allocations: 15.98 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.166e-05/0.002355, allocations: 39.86 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.002454, allocations: 11.98 kB / 0.8799 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/0.00253, allocations: 23.97 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.528e-05/0.002565, allocations: 17.58 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.002584, allocations: 4 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-06/0.002592, allocations: 4 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.00261, allocations: 7.984 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.002634, allocations: 12.94 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.061e-05/0.002715, allocations: 23.91 kB / 0.8799 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.002717, allocations: 4 kB / 0.8799 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.002718, allocations: 1.062 kB / 0.88 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.002722, allocations: 0 / 0.88 GB, free: 4.516 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.0003755/0.003098, allocations: 381.7 kB / 0.8803 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.003135, allocations: 8.031 kB / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.003169, allocations: 8.922 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.628e-05/0.003255, allocations: 117.7 kB / 0.8804 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.003265, allocations: 384 / 0.8804 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.003278, allocations: 4.375 kB / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.003417, allocations: 71.69 kB / 0.8805 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.003426, allocations: 192 / 0.8805 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.003438, allocations: 10.02 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.003446, allocations: 384 / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.208e-05/0.003478, allocations: 7.938 kB / 0.8805 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.003754, allocations: 267.8 kB / 0.8808 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.588e-05/0.00382, allocations: 31.5 kB / 0.8808 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.00385, allocations: 21.53 kB / 0.8808 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.003858, allocations: 0 / 0.8808 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.003879, allocations: 33.39 kB / 0.8809 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.003879, allocations: 0 / 0.8809 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001406/0.00402, allocations: 53.67 kB / 0.8809 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.004047, allocations: 60.69 kB / 0.881 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.00412, allocations: 165.9 kB / 0.8811 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.00413, allocations: 25.7 kB / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.004177, allocations: 136 kB / 0.8813 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.004194, allocations: 11.91 kB / 0.8813 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.004221, allocations: 19.38 kB / 0.8813 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.004338, allocations: 497.7 kB / 0.8818 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.004355, allocations: 3.984 kB / 0.8818 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.324e-05/0.004368, allocations: 4 kB / 0.8818 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.983e-05/0.004398, allocations: 15.69 kB / 0.8818 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.004401, allocations: 6.562 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.847e-05/0.00446, allocations: 45.69 kB / 0.8819 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.004473, allocations: 15.88 kB / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.004478, allocations: 0 / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.004491, allocations: 0 / 0.8819 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.629e-05/0.004567, allocations: 8 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.004574, allocations: 3.984 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.004597, allocations: 5.969 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.004602, allocations: 0 / 0.8819 GB, free: 2.32 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 5.876e-05/0.004661, allocations: 156.6 kB / 0.8821 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.004676, allocations: 3.953 kB / 0.8821 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.004702, allocations: 16.64 kB / 0.8821 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.004703, allocations: 4 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.004707, allocations: 0.5 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.00471, allocations: 4.969 kB / 0.8821 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.577e-05/0.004805, allocations: 120.6 kB / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.004806, allocations: 0 / 0.8822 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.004831, allocations: 12 kB / 0.8822 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.004832, allocations: 0 / 0.8822 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.004837, allocations: 336 / 0.8822 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.004839, allocations: 7.922 kB / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.00484, allocations: 0 / 0.8822 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.708e-05/0.004937, allocations: 191.9 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.004948, allocations: 15.94 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-06/0.004957, allocations: 0 / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.687e-05/0.004994, allocations: 7.938 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.005032, allocations: 3.984 kB / 0.8824 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.005036, allocations: 4 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.367e-05/0.005079, allocations: 135.2 kB / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.005079, allocations: 0 / 0.8826 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001595/0.005239, allocations: 8 kB / 0.8826 GB, free: 1.578 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 6.85e-05/0.005307, allocations: 91.25 kB / 0.8827 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.23e-05/0.00539, allocations: 23.62 kB / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.005391, allocations: 0 / 0.8827 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.005415, allocations: 15.67 kB / 0.8827 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.005605, allocations: 12 kB / 0.8827 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.005882, allocations: 134.2 kB / 0.8828 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.738e-05/0.005919, allocations: 55.36 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.605e-05/0.005935, allocations: 0 / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.005965, allocations: 12.5 kB / 0.8829 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of SimCode: time 7.71e-07/0.005966, allocations: 4 kB / 0.8829 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of Templates: time 0.002101/0.008067, allocations: 0.7555 MB / 0.8836 GB, free: 436 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.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.595940821804106]