Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001516/0.001516, allocations: 87.58 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.001697/0.001697, allocations: 161 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.9533/0.9533, allocations: 177.1 MB / 204.2 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.773/1.773, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.098e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001287/0.001308, allocations: 0.7178 MB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008864/0.002194, allocations: 0.8531 MB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.002226, allocations: 0 / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.002252, allocations: 7.922 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.223e-05/0.002304, allocations: 10.16 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.923e-05/0.002354, allocations: 7.984 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.201e-05/0.002416, allocations: 43.86 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.002495, allocations: 7.984 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.002566, allocations: 31.91 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.904e-05/0.002595, allocations: 13.98 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.00261, allocations: 4 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-06/0.002617, allocations: 4 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.605e-05/0.002643, allocations: 15.92 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.002662, allocations: 4 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 6.729e-05/0.002729, allocations: 27.91 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.002732, allocations: 9.484 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002732, allocations: 0 / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.002736, allocations: 0 / 0.7889 GB, free: 10.68 MB / 0.7448 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.000296/0.003032, allocations: 373.7 kB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.003071, allocations: 8.031 kB / 0.7892 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.003095, allocations: 12.89 kB / 0.7892 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.767e-05/0.003173, allocations: 117.9 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.003184, allocations: 4.312 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.003195, allocations: 4.375 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.00331, allocations: 68.69 kB / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.003319, allocations: 192 / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.003326, allocations: 384 / 0.7894 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.003333, allocations: 4.375 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.28e-05/0.003366, allocations: 11.92 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005611/0.003927, allocations: 260.9 kB / 0.7897 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.034e-05/0.003997, allocations: 39 kB / 0.7897 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.573e-05/0.004023, allocations: 13.72 kB / 0.7897 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.004032, allocations: 3.984 kB / 0.7898 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.004053, allocations: 41.39 kB / 0.7898 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.004054, allocations: 0 / 0.7898 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001198/0.004174, allocations: 49.56 kB / 0.7898 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.004201, allocations: 57.98 kB / 0.7899 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.004277, allocations: 169.9 kB / 0.7901 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.00429, allocations: 29.7 kB / 0.7901 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.004338, allocations: 130.8 kB / 0.7902 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.004357, allocations: 7.953 kB / 0.7902 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.004382, allocations: 19.38 kB / 0.7902 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.004517, allocations: 0.4884 MB / 0.7907 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.004532, allocations: 4.719 kB / 0.7907 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.126e-05/0.004553, allocations: 4 kB / 0.7907 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.004583, allocations: 16.22 kB / 0.7907 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.004585, allocations: 1.656 kB / 0.7907 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.494e-05/0.00464, allocations: 49.58 kB / 0.7908 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.004654, allocations: 9.656 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.004658, allocations: 0 / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.004671, allocations: 0.6562 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.004733, allocations: 15.92 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.004738, allocations: 1 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.074e-05/0.004759, allocations: 4 kB / 0.7908 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.004765, allocations: 8.844 kB / 0.7908 GB, free: 8.484 MB / 0.7448 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 6.278e-05/0.004828, allocations: 152.6 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.004844, allocations: 8.828 kB / 0.791 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.004867, allocations: 11.94 kB / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.004869, allocations: 1.281 kB / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.004873, allocations: 0 / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.004876, allocations: 0 / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.862e-05/0.004974, allocations: 120.6 kB / 0.7911 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004975, allocations: 0.8438 kB / 0.7911 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.005001, allocations: 11.98 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.005003, allocations: 1.031 kB / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.005008, allocations: 0 / 0.7911 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.00501, allocations: 9.344 kB / 0.7911 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.005012, allocations: 4 kB / 0.7911 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.005121, allocations: 195.8 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-06/0.005126, allocations: 0 / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.005138, allocations: 5.344 kB / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.005173, allocations: 7.938 kB / 0.7913 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.00521, allocations: 7.984 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.005212, allocations: 3 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.005255, allocations: 131.2 kB / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005255, allocations: 0 / 0.7915 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001334/0.005389, allocations: 8 kB / 0.7915 GB, free: 7.762 MB / 0.7448 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.424e-05/0.005463, allocations: 95.25 kB / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.005542, allocations: 23.98 kB / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.005543, allocations: 0 / 0.7916 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.252e-05/0.005565, allocations: 12.28 kB / 0.7916 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.005739, allocations: 17.62 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002459/0.005985, allocations: 141.4 kB / 0.7918 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.357e-05/0.006019, allocations: 56.7 kB / 0.7918 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.588e-05/0.006035, allocations: 3.984 kB / 0.7918 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.00606, allocations: 8.5 kB / 0.7918 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.006061, allocations: 9.031 kB / 0.7918 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of Templates: time 0.00216/0.008221, allocations: 0.7427 MB / 0.7926 GB, free: 6.625 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.360817044042051]