Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.001136/0.001136, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001041/0.001041, allocations: 161 kB / 23.82 MB, free: 0.7539 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.076/1.076, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.808/1.808, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] 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.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.[0-9,]+.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.[0-9,]+.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.7871 GB, free: 11.43 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.633e-05, allocations: 3.562 kB / 0.7871 GB, free: 11.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002244/0.002271, allocations: 0.8394 MB / 0.7879 GB, free: 10.61 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.004122, allocations: 1.21 MB / 0.7891 GB, free: 9.383 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.692e-05/0.004209, allocations: 3.938 kB / 0.7891 GB, free: 9.379 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.004346, allocations: 20.42 kB / 0.7891 GB, free: 9.359 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.004474, allocations: 12.55 kB / 0.7891 GB, free: 9.348 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.005035, allocations: 144.5 kB / 0.7892 GB, free: 9.207 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004772/0.005512, allocations: 352 kB / 0.7896 GB, free: 8.863 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.005716, allocations: 74.33 kB / 0.7896 GB, free: 8.797 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.005995, allocations: 203.7 kB / 0.7898 GB, free: 8.598 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.006301, allocations: 151.7 kB / 0.79 GB, free: 8.449 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.252e-05/0.006394, allocations: 33.59 kB / 0.79 GB, free: 8.418 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.006515, allocations: 47.98 kB / 0.7901 GB, free: 8.371 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.00659, allocations: 43.84 kB / 0.7901 GB, free: 8.328 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.006759, allocations: 115.8 kB / 0.7902 GB, free: 8.215 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004637/0.007223, allocations: 315.3 kB / 0.7905 GB, free: 7.906 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.007225, allocations: 3.469 kB / 0.7905 GB, free: 7.906 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.41e-07/0.007226, allocations: 3.938 kB / 0.7905 GB, free: 7.902 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.007233, allocations: 0 / 0.7905 GB, free: 7.902 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008306/0.008064, allocations: 0.6098 MB / 0.7911 GB, free: 7.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.008104, allocations: 8.031 kB / 0.7911 GB, free: 7.227 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.008226, allocations: 40.78 kB / 0.7912 GB, free: 7.188 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.008608, allocations: 221.7 kB / 0.7914 GB, free: 6.941 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/0.008653, allocations: 20.36 kB / 0.7914 GB, free: 6.922 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.008714, allocations: 21.09 kB / 0.7914 GB, free: 6.902 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.008983, allocations: 118.9 kB / 0.7915 GB, free: 6.777 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.008997, allocations: 1.844 kB / 0.7915 GB, free: 6.777 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.009017, allocations: 4.375 kB / 0.7915 GB, free: 6.773 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.009027, allocations: 384 / 0.7915 GB, free: 6.773 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.009166, allocations: 47.91 kB / 0.7916 GB, free: 6.727 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009733/0.01014, allocations: 0.5551 MB / 0.7921 GB, free: 6.137 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.01031, allocations: 63.05 kB / 0.7922 GB, free: 6.062 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.918e-05/0.01038, allocations: 28.61 kB / 0.7922 GB, free: 6.031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/0.01041, allocations: 0 / 0.7922 GB, free: 6.031 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.01063, allocations: 141.5 kB / 0.7923 GB, free: 5.883 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.01063, allocations: 0 / 0.7923 GB, free: 5.883 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0004525/0.01109, allocations: 166.8 kB / 0.7925 GB, free: 5.715 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.01113, allocations: 59.41 kB / 0.7926 GB, free: 5.645 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.01136, allocations: 248.6 kB / 0.7928 GB, free: 5.387 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.01141, allocations: 37.69 kB / 0.7928 GB, free: 5.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.01155, allocations: 184 kB / 0.793 GB, free: 5.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.01159, allocations: 43.69 kB / 0.793 GB, free: 5.117 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.01178, allocations: 100.3 kB / 0.7931 GB, free: 5.012 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.01195, allocations: 0.5001 MB / 0.7936 GB, free: 4.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.01225, allocations: 173 kB / 0.7938 GB, free: 4.312 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.01259, allocations: 268.2 kB / 0.7941 GB, free: 4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.01297, allocations: 274.9 kB / 0.7943 GB, free: 3.684 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.01297, allocations: 0.6875 kB / 0.7943 GB, free: 3.684 MB / 0.698 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008381/0.01381, allocations: 0.4928 MB / 0.7948 GB, free: 3.148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.01388, allocations: 98.06 kB / 0.7949 GB, free: 3.035 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01389, allocations: 0 / 0.7949 GB, free: 3.035 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.01391, allocations: 7.938 kB / 0.7949 GB, free: 3.027 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.01402, allocations: 16.52 kB / 0.7949 GB, free: 3.012 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.01403, allocations: 9.312 kB / 0.7949 GB, free: 3.004 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.01439, allocations: 81.02 kB / 0.795 GB, free: 2.926 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.01445, allocations: 23.98 kB / 0.795 GB, free: 2.902 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001518/0.0146, allocations: 170.7 kB / 0.7952 GB, free: 2.727 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/0.01464, allocations: 28.83 kB / 0.7952 GB, free: 2.699 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.01494, allocations: 135.4 kB / 0.7953 GB, free: 2.559 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.01495, allocations: 9.156 kB / 0.7953 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.01495, allocations: 0 / 0.7953 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01496, allocations: 0 / 0.7953 GB, free: 2.551 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.01517, allocations: 205.3 kB / 0.7955 GB, free: 2.316 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.01517, allocations: 4 kB / 0.7955 GB, free: 2.312 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.876e-05/0.01524, allocations: 14.2 kB / 0.7956 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01524, allocations: 0 / 0.7956 GB, free: 2.301 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.01526, allocations: 4 kB / 0.7956 GB, free: 2.297 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.01526, allocations: 0 / 0.7956 GB, free: 2.297 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01526, allocations: 3.938 kB / 0.7956 GB, free: 2.293 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.01555, allocations: 182.6 kB / 0.7957 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.01557, allocations: 14.94 kB / 0.7958 GB, free: 2.082 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.0156, allocations: 8 kB / 0.7958 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.514e-05/0.01564, allocations: 3.984 kB / 0.7958 GB, free: 2.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.0157, allocations: 15.92 kB / 0.7958 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.01572, allocations: 11.98 kB / 0.7958 GB, free: 2.043 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001082/0.01583, allocations: 163.4 kB / 0.796 GB, free: 1.883 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.01583, allocations: 0 / 0.796 GB, free: 1.883 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003537/0.01618, allocations: 71.88 kB / 0.796 GB, free: 1.812 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001751/0.01636, allocations: 104.6 kB / 0.7961 GB, free: 1.699 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000675/0.01703, allocations: 440 kB / 0.7965 GB, free: 1.211 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.01704, allocations: 1.375 kB / 0.7965 GB, free: 1.211 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.01715, allocations: 59.53 kB / 0.7966 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.0175, allocations: 35.28 kB / 0.7966 GB, free: 1.117 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.01818, allocations: 328.1 kB / 0.7969 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.539e-05/0.01825, allocations: 91.67 kB / 0.797 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.64e-05/0.01833, allocations: 19.58 kB / 0.7971 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.01838, allocations: 16.5 kB / 0.7971 GB, free: 0.625 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/0.01838, allocations: 0 / 0.7971 GB, free: 0.625 MB / 0.698 GB Notification: Performance of Templates: time 0.008203/0.02658, allocations: 4.032 MB / 0.801 GB, free: 12.69 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.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.482203780207783]