Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.001001/0.001001, allocations: 69.89 kB / 20.65 MB, free: 3.848 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.001088/0.001088, 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.96/0.96, allocations: 177.1 MB / 204.5 MB, free: 4.828 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.161/2.161, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.423e-05, allocations: 3.297 kB / 0.8795 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001315/0.001339, allocations: 0.7198 MB / 0.8802 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007923/0.002131, allocations: 0.842 MB / 0.881 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.002166, allocations: 0 / 0.881 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.002193, allocations: 3.938 kB / 0.881 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.002263, allocations: 12.12 kB / 0.881 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.636e-05/0.00232, allocations: 15.98 kB / 0.881 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.746e-05/0.002387, allocations: 46.72 kB / 0.8811 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.006e-05/0.002467, allocations: 8 kB / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.899e-05/0.002536, allocations: 19.98 kB / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.538e-05/0.002571, allocations: 21.16 kB / 0.8811 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.002587, allocations: 4 kB / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-06/0.002593, allocations: 4 kB / 0.8811 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.002608, allocations: 7.312 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.002629, allocations: 19.91 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.825e-05/0.002698, allocations: 27.91 kB / 0.8812 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.002699, allocations: 0 / 0.8812 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.91e-07/0.0027, allocations: 0 / 0.8812 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.002704, allocations: 0 / 0.8812 GB, free: 4.23 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.0003064/0.00301, allocations: 380.5 kB / 0.8815 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.003042, allocations: 8.031 kB / 0.8815 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.003066, allocations: 8.875 kB / 0.8815 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.738e-05/0.003133, allocations: 113.2 kB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.003143, allocations: 5.969 kB / 0.8817 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-06/0.00315, allocations: 4.375 kB / 0.8817 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.003252, allocations: 58.94 kB / 0.8817 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.003258, allocations: 192 / 0.8817 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.003266, allocations: 8.859 kB / 0.8817 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.00327, allocations: 5.75 kB / 0.8817 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.045e-05/0.003291, allocations: 11.92 kB / 0.8817 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.00351, allocations: 248.3 kB / 0.882 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.259e-05/0.003562, allocations: 32.53 kB / 0.882 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.084e-05/0.003583, allocations: 15.77 kB / 0.882 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.352e-06/0.003589, allocations: 0 / 0.882 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.003608, allocations: 37.39 kB / 0.8821 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.003609, allocations: 4 kB / 0.8821 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001161/0.003725, allocations: 53.53 kB / 0.8821 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.003752, allocations: 55.39 kB / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.473e-05/0.003817, allocations: 165.9 kB / 0.8823 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.003832, allocations: 25.7 kB / 0.8824 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.19e-05/0.003874, allocations: 134.9 kB / 0.8825 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.003891, allocations: 11.91 kB / 0.8825 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.00392, allocations: 19.38 kB / 0.8825 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.004025, allocations: 0.4884 MB / 0.883 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.004037, allocations: 0 / 0.883 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-06/0.004046, allocations: 8 kB / 0.883 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.538e-05/0.004072, allocations: 15.69 kB / 0.883 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.004074, allocations: 0 / 0.883 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.699e-05/0.004131, allocations: 49.62 kB / 0.8831 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.004141, allocations: 4 kB / 0.8831 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.004144, allocations: 0 / 0.8831 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.004153, allocations: 3.938 kB / 0.8831 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.986e-05/0.004213, allocations: 11.98 kB / 0.8831 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.004215, allocations: 0 / 0.8831 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.004239, allocations: 8 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.004243, allocations: 8 kB / 0.8831 GB, free: 2.059 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.587e-05/0.004299, allocations: 152.6 kB / 0.8832 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.004318, allocations: 7.953 kB / 0.8833 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.004338, allocations: 11.98 kB / 0.8833 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.004341, allocations: 3.938 kB / 0.8833 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.004342, allocations: 0 / 0.8833 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.004345, allocations: 0 / 0.8833 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.666e-05/0.004431, allocations: 101.2 kB / 0.8834 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004432, allocations: 0 / 0.8834 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.004462, allocations: 15.88 kB / 0.8834 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.004463, allocations: 4 kB / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-06/0.004467, allocations: 336 / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.004468, allocations: 0 / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004468, allocations: 0 / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.759e-05/0.004566, allocations: 199.8 kB / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-06/0.004571, allocations: 7.953 kB / 0.8836 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.00458, allocations: 3.984 kB / 0.8836 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.004616, allocations: 4 kB / 0.8836 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.004646, allocations: 15.92 kB / 0.8836 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.004648, allocations: 0 / 0.8836 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.004681, allocations: 123.2 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004681, allocations: 4 kB / 0.8837 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000138/0.004819, allocations: 8 kB / 0.8837 GB, free: 1.352 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.388e-05/0.004893, allocations: 99.17 kB / 0.8838 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.324e-05/0.004956, allocations: 15.69 kB / 0.8838 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.004957, allocations: 0 / 0.8838 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.018e-05/0.004977, allocations: 15.67 kB / 0.8839 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.005159, allocations: 12 kB / 0.8839 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/0.005389, allocations: 138.2 kB / 0.884 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.423e-05/0.005424, allocations: 63.28 kB / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.738e-05/0.005441, allocations: 0 / 0.8841 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.005492, allocations: 70.2 kB / 0.8841 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/0.005492, allocations: 0 / 0.8841 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of Templates: time 0.002066/0.007558, allocations: 0.8239 MB / 0.8849 GB, free: 64 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.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.3260059780441225]