Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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.001024/0.001024, allocations: 82.02 kB / 19.87 MB, free: 4.621 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.000965/0.000965, allocations: 174 kB / 23.28 MB, free: 1.219 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 / 203.7 MB, free: 5.52 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.408/2.408, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 0.8898 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.939e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.00272/0.00275, allocations: 2.034 MB / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.004407, allocations: 1.301 MB / 0.893 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.004516, allocations: 7.938 kB / 0.893 GB, free: 6.406 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004017/0.004917, allocations: 159.4 kB / 0.8932 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.005294, allocations: 226.9 kB / 0.8934 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002658/0.00556, allocations: 159.5 kB / 0.8935 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.00585, allocations: 343 kB / 0.8939 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.005986, allocations: 36.92 kB / 0.8939 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006894/0.006675, allocations: 257.7 kB / 0.8942 GB, free: 5.277 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.006814, allocations: 147.6 kB / 0.8943 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.006835, allocations: 12 kB / 0.8943 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.006939, allocations: 63.91 kB / 0.8944 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.007022, allocations: 91.67 kB / 0.8945 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.654e-05/0.007078, allocations: 71.7 kB / 0.8945 GB, free: 4.898 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002826/0.007361, allocations: 255 kB / 0.8948 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007364, allocations: 3.984 kB / 0.8948 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.102e-06/0.007365, allocations: 0 / 0.8948 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.007368, allocations: 0 / 0.8948 GB, free: 4.645 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005312/0.0079, allocations: 0.6661 MB / 0.8954 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.692e-05/0.007927, allocations: 12.62 kB / 0.8954 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.007973, allocations: 40.7 kB / 0.8955 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.008219, allocations: 309.4 kB / 0.8958 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.008234, allocations: 8.375 kB / 0.8958 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.008248, allocations: 11.92 kB / 0.8958 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.008361, allocations: 96.3 kB / 0.8959 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-06/0.008365, allocations: 4 kB / 0.8959 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.008372, allocations: 0 / 0.8959 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.008375, allocations: 0 / 0.8959 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.306e-05/0.008418, allocations: 27.97 kB / 0.8959 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.008804, allocations: 403.8 kB / 0.8963 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.008924, allocations: 91.23 kB / 0.8964 GB, free: 2.887 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.633e-05/0.00896, allocations: 27.67 kB / 0.8964 GB, free: 2.855 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.008971, allocations: 4 kB / 0.8964 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.009206, allocations: 96.92 kB / 0.8965 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 9.01e-07/0.009207, allocations: 0 / 0.8965 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0001978/0.009404, allocations: 165.4 kB / 0.8967 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.009425, allocations: 51.41 kB / 0.8967 GB, free: 2.512 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.009687, allocations: 438.4 kB / 0.8971 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.009706, allocations: 37.69 kB / 0.8972 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.009807, allocations: 223.2 kB / 0.8974 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.009836, allocations: 39.67 kB / 0.8974 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.009904, allocations: 79.53 kB / 0.8975 GB, free: 1.672 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.01007, allocations: 0.539 MB / 0.898 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.01011, allocations: 32.53 kB / 0.898 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.01018, allocations: 85.11 kB / 0.8981 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.381e-05/0.01027, allocations: 104 kB / 0.8982 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01027, allocations: 0 / 0.8982 GB, free: 0.8828 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001928/0.01047, allocations: 209.8 kB / 0.8984 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.01048, allocations: 4 kB / 0.8984 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.01048, allocations: 0 / 0.8984 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.01049, allocations: 4 kB / 0.8984 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.01059, allocations: 47.97 kB / 0.8985 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.0106, allocations: 12 kB / 0.8985 GB, free: 0.6055 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.01065, allocations: 23.81 kB / 0.8985 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.01067, allocations: 8 kB / 0.8985 GB, free: 0.5742 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.959e-05/0.01076, allocations: 168.6 kB / 0.8987 GB, free: 408 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.01079, allocations: 43.7 kB / 0.8987 GB, free: 364 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.01096, allocations: 144.8 kB / 0.8989 GB, free: 216 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01097, allocations: 0 / 0.8989 GB, free: 216 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01097, allocations: 0 / 0.8989 GB, free: 216 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01097, allocations: 7.984 kB / 0.8989 GB, free: 208 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.01112, allocations: 201 kB / 0.8991 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01112, allocations: 0 / 0.8991 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.01116, allocations: 15.98 kB / 0.8991 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01116, allocations: 0 / 0.8991 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.01117, allocations: 8 kB / 0.8991 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.01117, allocations: 0 / 0.8991 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.01117, allocations: 3.844 kB / 0.8991 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.01133, allocations: 197.8 kB / 0.8993 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.29e-05/0.01136, allocations: 35.75 kB / 0.8993 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.01138, allocations: 12 kB / 0.8993 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.485e-05/0.01142, allocations: 0 / 0.8993 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.01146, allocations: 23.97 kB / 0.8993 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.01147, allocations: 11.98 kB / 0.8994 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001384/0.01161, allocations: 263 kB / 0.8996 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.01161, allocations: 0 / 0.8996 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001915/0.0118, allocations: 63.86 kB / 0.8997 GB, free: 15.34 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007847/0.01258, allocations: 401 kB / 0.9 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.01271, allocations: 103.5 kB / 0.9001 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.01272, allocations: 0 / 0.9001 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.163e-05/0.01278, allocations: 61.83 kB / 0.9002 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.01304, allocations: 115 kB / 0.9003 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.01352, allocations: 470.7 kB / 0.9008 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.705e-05/0.01357, allocations: 104.6 kB / 0.9009 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.762e-05/0.01365, allocations: 50.94 kB / 0.9009 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.01379, allocations: 138.2 kB / 0.901 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of SimCode: time 5.41e-07/0.01379, allocations: 0 / 0.901 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of Templates: time 0.006968/0.02076, allocations: 4.877 MB / 0.9058 GB, free: 9.227 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.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.3713152799755335]