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.001359/0.001359, allocations: 73.09 kB / 20.66 MB, free: 3.84 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.001074/0.001074, allocations: 173 kB / 24.06 MB, free: 452 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 0.9387/0.9387, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.083/2.083, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.703e-06/1.703e-06, allocations: 0 / 0.8795 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.909e-05, allocations: 4.984 kB / 0.8795 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.001179/0.001198, allocations: 0.7177 MB / 0.8802 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007482/0.001946, allocations: 0.8495 MB / 0.881 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.25e-05/0.001978, allocations: 0 / 0.881 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.57e-05/0.002004, allocations: 3.938 kB / 0.881 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.465e-05/0.002069, allocations: 10.72 kB / 0.881 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.836e-05/0.002127, allocations: 13.64 kB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.0022, allocations: 47.84 kB / 0.8811 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.002283, allocations: 4 kB / 0.8811 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.002357, allocations: 23.92 kB / 0.8811 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.002393, allocations: 20.45 kB / 0.8811 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.002409, allocations: 4 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.221e-06/0.002415, allocations: 9.25 kB / 0.8811 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.002431, allocations: 4 kB / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.00245, allocations: 11.98 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.081e-05/0.002521, allocations: 36.72 kB / 0.8812 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.002523, allocations: 0 / 0.8812 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5e-07/0.002524, allocations: 0 / 0.8812 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.002527, allocations: 1.375 kB / 0.8812 GB, free: 4.262 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.0003008/0.002828, allocations: 380.5 kB / 0.8815 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.00286, allocations: 8.031 kB / 0.8815 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.002883, allocations: 6.406 kB / 0.8816 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.374e-05/0.002957, allocations: 112.6 kB / 0.8817 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.002965, allocations: 384 / 0.8817 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.002971, allocations: 384 / 0.8817 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.003081, allocations: 72.19 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.003088, allocations: 192 / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.003093, allocations: 384 / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.003098, allocations: 3.625 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.124e-05/0.003119, allocations: 11.92 kB / 0.8817 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.003339, allocations: 244.3 kB / 0.882 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.804e-05/0.003397, allocations: 35.12 kB / 0.882 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.003417, allocations: 15.62 kB / 0.882 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.134e-06/0.003424, allocations: 0 / 0.882 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.003445, allocations: 41.45 kB / 0.8821 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.003446, allocations: 4 kB / 0.8821 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001136/0.003559, allocations: 45.59 kB / 0.8821 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/0.003589, allocations: 59.41 kB / 0.8822 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.003658, allocations: 169.9 kB / 0.8823 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.003668, allocations: 25.7 kB / 0.8824 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.003709, allocations: 134.8 kB / 0.8825 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.003728, allocations: 11.91 kB / 0.8825 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.003753, allocations: 19.38 kB / 0.8825 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.003873, allocations: 0.4923 MB / 0.883 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.057e-05/0.003884, allocations: 3.938 kB / 0.883 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.156e-05/0.003895, allocations: 4 kB / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.517e-05/0.00392, allocations: 15.69 kB / 0.883 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.003922, allocations: 0 / 0.883 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.466e-05/0.003977, allocations: 45.69 kB / 0.8831 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.003987, allocations: 4 kB / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.00399, allocations: 0 / 0.8831 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.795e-06/0.003998, allocations: 3.938 kB / 0.8831 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.004066, allocations: 11.98 kB / 0.8831 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.004069, allocations: 3.938 kB / 0.8831 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.004091, allocations: 4 kB / 0.8831 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.004096, allocations: 4 kB / 0.8831 GB, free: 2.102 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.975e-05/0.004156, allocations: 160.6 kB / 0.8832 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.004172, allocations: 3.953 kB / 0.8833 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.004195, allocations: 15.98 kB / 0.8833 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.004198, allocations: 3.938 kB / 0.8833 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.004199, allocations: 0 / 0.8833 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.004202, allocations: 0 / 0.8833 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.656e-05/0.004288, allocations: 105.2 kB / 0.8834 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.00429, allocations: 3.984 kB / 0.8834 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.004315, allocations: 8 kB / 0.8834 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.004317, allocations: 4 kB / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.004321, allocations: 0 / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.004321, allocations: 0 / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.004322, allocations: 0 / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.071e-05/0.004413, allocations: 191.8 kB / 0.8836 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.305e-06/0.004421, allocations: 7.953 kB / 0.8836 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.004432, allocations: 4 kB / 0.8836 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.65e-05/0.004468, allocations: 7.984 kB / 0.8836 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.004498, allocations: 7.922 kB / 0.8836 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.004501, allocations: 4 kB / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.365e-05/0.004534, allocations: 123.2 kB / 0.8837 GB, free: 1.406 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4e-08/0.004535, allocations: 7.938 kB / 0.8837 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001313/0.004666, allocations: 4 kB / 0.8837 GB, free: 1.395 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.117e-05/0.004737, allocations: 103.2 kB / 0.8838 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.169e-05/0.004799, allocations: 16.06 kB / 0.8838 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.41e-07/0.0048, allocations: 0 / 0.8838 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.358e-05/0.004823, allocations: 23.69 kB / 0.8839 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.005007, allocations: 7.984 kB / 0.8839 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.005222, allocations: 134.3 kB / 0.884 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.045e-05/0.005252, allocations: 59.34 kB / 0.8841 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.736e-05/0.005269, allocations: 0 / 0.8841 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.00532, allocations: 78.2 kB / 0.8841 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/0.005321, allocations: 0 / 0.8841 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of Templates: time 0.002096/0.007417, allocations: 0.8243 MB / 0.8849 GB, free: 100 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.302218955941498]