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.00144/0.00144, allocations: 80.3 kB / 21.47 MB, free: 3.035 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.001023/0.001023, allocations: 170.3 kB / 24.86 MB, free: 9.277 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.9483/0.9483, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.78/1.78, allocations: 359 MB / 0.6063 GB, free: 10.9 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.673e-06/1.673e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.564e-05, allocations: 4.844 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001511/0.001537, allocations: 0.8381 MB / 0.7891 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.002835, allocations: 1.21 MB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.698e-05/0.002912, allocations: 5.562 kB / 0.7903 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.003024, allocations: 15.86 kB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.373e-05/0.003118, allocations: 15.81 kB / 0.7903 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.003512, allocations: 149.7 kB / 0.7905 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000351/0.003863, allocations: 347.3 kB / 0.7908 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.004029, allocations: 62.84 kB / 0.7908 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.004209, allocations: 209.9 kB / 0.791 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002019/0.004411, allocations: 151.7 kB / 0.7912 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.783e-05/0.004459, allocations: 32 kB / 0.7912 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.00454, allocations: 43.98 kB / 0.7913 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.004596, allocations: 47.84 kB / 0.7913 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.714e-05/0.004693, allocations: 111.8 kB / 0.7914 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/0.004992, allocations: 320.8 kB / 0.7917 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.004996, allocations: 3.984 kB / 0.7917 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.313e-06/0.004997, allocations: 0 / 0.7917 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.005002, allocations: 0 / 0.7917 GB, free: 8.715 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005797/0.005582, allocations: 0.6071 MB / 0.7923 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.00562, allocations: 8.031 kB / 0.7923 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.005693, allocations: 41.39 kB / 0.7924 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.005941, allocations: 197.7 kB / 0.7926 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.487e-05/0.005976, allocations: 17.64 kB / 0.7926 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.006016, allocations: 24.38 kB / 0.7926 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.006177, allocations: 106.9 kB / 0.7927 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.006186, allocations: 2.656 kB / 0.7927 GB, free: 7.629 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.0062, allocations: 4.375 kB / 0.7927 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.006207, allocations: 4.375 kB / 0.7927 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.593e-05/0.006273, allocations: 48.33 kB / 0.7928 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.006841, allocations: 0.4958 MB / 0.7932 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.006945, allocations: 63.69 kB / 0.7933 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.978e-05/0.006974, allocations: 20.22 kB / 0.7933 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.006989, allocations: 1.656 kB / 0.7933 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004421/0.007431, allocations: 124.9 kB / 0.7934 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.007433, allocations: 0 / 0.7934 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.000247/0.00768, allocations: 160.3 kB / 0.7936 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.007721, allocations: 67.98 kB / 0.7937 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.007862, allocations: 246.5 kB / 0.7939 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.007901, allocations: 38.86 kB / 0.7939 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.008008, allocations: 183.1 kB / 0.7941 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.008041, allocations: 39.67 kB / 0.7941 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.00815, allocations: 96.45 kB / 0.7942 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.0083, allocations: 0.5079 MB / 0.7947 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.008453, allocations: 161 kB / 0.7949 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.008622, allocations: 249.5 kB / 0.7951 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.008816, allocations: 261.7 kB / 0.7954 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.008819, allocations: 0 / 0.7954 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004315/0.00925, allocations: 473.6 kB / 0.7958 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.009309, allocations: 95.28 kB / 0.7959 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.009314, allocations: 4.875 kB / 0.7959 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.009324, allocations: 4 kB / 0.7959 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.897e-05/0.009393, allocations: 21.42 kB / 0.7959 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.009397, allocations: 4 kB / 0.7959 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.009587, allocations: 72.97 kB / 0.796 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.009614, allocations: 19.98 kB / 0.796 GB, free: 3.926 MB / 0.7448 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 9.784e-05/0.009712, allocations: 179.7 kB / 0.7962 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.009734, allocations: 23.89 kB / 0.7962 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.009898, allocations: 131.4 kB / 0.7964 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.0099, allocations: 0 / 0.7964 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.009903, allocations: 3.938 kB / 0.7964 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.009907, allocations: 0 / 0.7964 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.01003, allocations: 157.7 kB / 0.7965 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01003, allocations: 1.938 kB / 0.7965 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.01006, allocations: 11.94 kB / 0.7965 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01007, allocations: 0 / 0.7965 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.01008, allocations: 7.984 kB / 0.7965 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01008, allocations: 4 kB / 0.7965 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.01008, allocations: 4.844 kB / 0.7965 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.01023, allocations: 174.8 kB / 0.7967 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.01025, allocations: 11.91 kB / 0.7967 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.01026, allocations: 8.828 kB / 0.7967 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.01028, allocations: 4 kB / 0.7967 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.01031, allocations: 12.64 kB / 0.7967 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.01032, allocations: 7.938 kB / 0.7967 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.025e-05/0.01038, allocations: 165.9 kB / 0.7969 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01038, allocations: 0 / 0.7969 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002783/0.01066, allocations: 71.89 kB / 0.797 GB, free: 2.906 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: 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.0001445/0.01081, allocations: 100.3 kB / 0.7971 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.01114, allocations: 433.7 kB / 0.7975 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01114, allocations: 3.938 kB / 0.7975 GB, free: 2.316 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.01119, allocations: 47.59 kB / 0.7975 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.01138, allocations: 34.03 kB / 0.7976 GB, free: 2.234 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.01175, allocations: 322.9 kB / 0.7979 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.415e-05/0.01179, allocations: 84.91 kB / 0.798 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.636e-05/0.01183, allocations: 18.52 kB / 0.798 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.01198, allocations: 126.2 kB / 0.7981 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.01198, allocations: 0 / 0.7981 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of Templates: time 0.005534/0.01752, allocations: 4.389 MB / 0.8024 GB, free: 13.34 MB / 0.7605 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.146089810878038]