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.001127/0.001127, 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.0009948/0.0009948, 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.9256/0.9256, allocations: 177.1 MB / 204.2 MB, free: 5.586 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.709/1.709, allocations: 359 MB / 0.6052 GB, free: 11.03 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 2.254e-06/2.254e-06, allocations: 0.5469 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.881e-05, allocations: 5.047 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001839/0.001867, allocations: 0.8444 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.003225, allocations: 1.21 MB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.134e-05/0.003306, allocations: 3.938 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.003424, allocations: 13.61 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.003542, allocations: 23.8 kB / 0.7891 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.004004, allocations: 140.5 kB / 0.7893 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003288/0.004333, allocations: 348 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.004501, allocations: 68.56 kB / 0.7896 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.004695, allocations: 205.1 kB / 0.7898 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.004913, allocations: 151.7 kB / 0.79 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.931e-05/0.004962, allocations: 36 kB / 0.79 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.005046, allocations: 39.98 kB / 0.7901 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.005103, allocations: 49.16 kB / 0.7901 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.005209, allocations: 107.8 kB / 0.7902 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.005555, allocations: 323.2 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.005558, allocations: 1.062 kB / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005559, allocations: 0 / 0.7905 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.005566, allocations: 0 / 0.7905 GB, free: 8.992 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.0006166/0.006183, allocations: 0.6193 MB / 0.7911 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.006218, allocations: 8.031 kB / 0.7911 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/0.006302, allocations: 44.8 kB / 0.7912 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.006546, allocations: 202.5 kB / 0.7914 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.006576, allocations: 16.38 kB / 0.7914 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.006612, allocations: 29.97 kB / 0.7914 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.006784, allocations: 114.9 kB / 0.7915 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.006791, allocations: 4.188 kB / 0.7915 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.006805, allocations: 8.312 kB / 0.7915 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.006812, allocations: 5.438 kB / 0.7915 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.012e-05/0.006892, allocations: 47.91 kB / 0.7916 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.007511, allocations: 0.5553 MB / 0.7921 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.007635, allocations: 67.05 kB / 0.7922 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.007678, allocations: 23.67 kB / 0.7922 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.007696, allocations: 1.594 kB / 0.7922 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.007839, allocations: 140.3 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 2.354e-06/0.007841, allocations: 0 / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002838/0.008125, allocations: 172.1 kB / 0.7925 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.008158, allocations: 55.41 kB / 0.7926 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.008291, allocations: 247.1 kB / 0.7928 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.008326, allocations: 41.69 kB / 0.7928 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.008426, allocations: 187.1 kB / 0.793 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.008453, allocations: 43.67 kB / 0.7931 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.008555, allocations: 91.33 kB / 0.7931 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.008672, allocations: 0.5006 MB / 0.7936 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.008851, allocations: 181 kB / 0.7938 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.00904, allocations: 263.1 kB / 0.7941 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.009258, allocations: 274.9 kB / 0.7943 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.00926, allocations: 0 / 0.7943 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004769/0.009737, allocations: 498.7 kB / 0.7948 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.009786, allocations: 93.09 kB / 0.7949 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.009792, allocations: 4 kB / 0.7949 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.009807, allocations: 5.312 kB / 0.7949 GB, free: 4.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.009893, allocations: 19.98 kB / 0.7949 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.009899, allocations: 4 kB / 0.7949 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.01011, allocations: 85.5 kB / 0.795 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.01014, allocations: 19.98 kB / 0.795 GB, free: 3.996 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 0.0001048/0.01025, allocations: 185.4 kB / 0.7952 GB, free: 3.809 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.01027, allocations: 19.89 kB / 0.7952 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.01047, allocations: 143.3 kB / 0.7954 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01047, allocations: 3.938 kB / 0.7954 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01048, allocations: 0.875 kB / 0.7954 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01048, allocations: 0 / 0.7954 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.01061, allocations: 204 kB / 0.7956 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01062, allocations: 0 / 0.7956 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.01066, allocations: 11.98 kB / 0.7956 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.01066, allocations: 0 / 0.7956 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01067, allocations: 8 kB / 0.7956 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01067, allocations: 0 / 0.7956 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01067, allocations: 3.938 kB / 0.7956 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.01084, allocations: 186.7 kB / 0.7958 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.01085, allocations: 15.91 kB / 0.7958 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.01086, allocations: 0.625 kB / 0.7958 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.496e-05/0.01089, allocations: 11.98 kB / 0.7958 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.01093, allocations: 13.77 kB / 0.7958 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.01094, allocations: 8 kB / 0.7958 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.401e-05/0.01101, allocations: 155.2 kB / 0.7959 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01101, allocations: 4 kB / 0.796 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002013/0.01121, allocations: 71.88 kB / 0.796 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.0001308/0.01134, allocations: 107 kB / 0.7961 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003714/0.01171, allocations: 447.3 kB / 0.7965 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01171, allocations: 0.9062 kB / 0.7966 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/0.01177, allocations: 55.61 kB / 0.7966 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.01198, allocations: 42.12 kB / 0.7966 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.01241, allocations: 326.9 kB / 0.797 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.586e-05/0.01246, allocations: 88.41 kB / 0.797 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.766e-05/0.0125, allocations: 20.17 kB / 0.7971 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.01254, allocations: 20.48 kB / 0.7971 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.01254, allocations: 0 / 0.7971 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of Templates: time 0.005599/0.01814, allocations: 4.319 MB / 0.8013 GB, free: 13.48 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.026322603225708]