Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001044/0.001044, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001058/0.001058, allocations: 161 kB / 23.82 MB, free: 0.7461 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 1.06/1.06, allocations: 177.1 MB / 204.2 MB, free: 5.312 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.957/1.957, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.459e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002438/0.002473, allocations: 0.7247 MB / 0.8123 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.003714, allocations: 0.844 MB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.003759, allocations: 0 / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.757e-05/0.003797, allocations: 4.906 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.747e-05/0.003884, allocations: 8.812 kB / 0.8132 GB, free: 80 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 8.428e-05/0.003968, allocations: 15.97 kB / 0.8132 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.004071, allocations: 39.92 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.004191, allocations: 4.781 kB / 0.8132 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.004308, allocations: 31.98 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.004353, allocations: 17.67 kB / 0.8133 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.004377, allocations: 4 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.004386, allocations: 4 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.004408, allocations: 11.92 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.004438, allocations: 9.531 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.004551, allocations: 35.69 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004554, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.362e-06/0.004555, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.004561, 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.0004742/0.005035, allocations: 373.3 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.005085, allocations: 12.84 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.005132, allocations: 8.891 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.005242, allocations: 122.1 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.005258, allocations: 8.375 kB / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.005273, allocations: 384 / 0.8138 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.005465, allocations: 63.66 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.005477, allocations: 192 / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.005489, allocations: 4.906 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.005498, allocations: 384 / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.005545, allocations: 13.53 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.005959, allocations: 263.8 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.006065, allocations: 35.05 kB / 0.8142 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.006113, allocations: 16.19 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.006126, allocations: 4.594 kB / 0.8142 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.006155, allocations: 37.33 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.006157, allocations: 0.7812 kB / 0.8142 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0002023/0.00636, allocations: 49.72 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.006396, allocations: 52.56 kB / 0.8143 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.006501, allocations: 169.9 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.006514, allocations: 25.7 kB / 0.8145 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.00658, allocations: 140.2 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.006603, allocations: 7.953 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.006642, allocations: 19.38 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.00679, allocations: 0.4883 MB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.006817, allocations: 5.734 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.006837, allocations: 4 kB / 0.8152 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.407e-05/0.006901, allocations: 19.62 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.006904, allocations: 0 / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001022/0.007006, allocations: 51.86 kB / 0.8152 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.007026, allocations: 7.938 kB / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.007032, allocations: 0 / 0.8152 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.007052, allocations: 4 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.007161, allocations: 4 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.007168, allocations: 4.312 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.659e-05/0.007205, allocations: 10.77 kB / 0.8153 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.007211, allocations: 0 / 0.8153 GB, free: 13.72 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 8.335e-05/0.007295, allocations: 156.5 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.007324, allocations: 8 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.248e-05/0.007356, allocations: 7.938 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.00736, allocations: 3.984 kB / 0.8154 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.007366, allocations: 5.562 kB / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.007369, allocations: 0 / 0.8154 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.007519, allocations: 116.6 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.007522, allocations: 0 / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-05/0.007581, allocations: 8.531 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.007586, allocations: 4 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.007596, allocations: 4.562 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.007602, allocations: 4.5 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.007606, allocations: 7.969 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.007769, allocations: 193.6 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.007779, allocations: 4.031 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.007796, allocations: 7.984 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.007866, allocations: 10.53 kB / 0.8158 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.007909, allocations: 7.922 kB / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.007913, allocations: 0 / 0.8158 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.007967, allocations: 131.2 kB / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.007967, allocations: 0 / 0.8159 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002612/0.008228, allocations: 4 kB / 0.8159 GB, free: 12.99 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.0001363/0.008365, allocations: 99.77 kB / 0.816 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001233/0.008488, allocations: 24.28 kB / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.00849, allocations: 0 / 0.816 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.492e-05/0.008525, allocations: 16.77 kB / 0.8161 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.008861, allocations: 13 kB / 0.8161 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.009276, allocations: 137.8 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.698e-05/0.009323, allocations: 59.34 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.00935, allocations: 0.6562 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.009393, allocations: 16.22 kB / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of SimCode: time 6.61e-07/0.009394, allocations: 0 / 0.8163 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.003325/0.01272, allocations: 0.7354 MB / 0.817 GB, free: 11.86 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.480783700942993]