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.001291/0.001291, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001286/0.001286, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9588/0.9588, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.72/1.72, allocations: 359 MB / 0.6055 GB, free: 10.88 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 3.787e-06/3.787e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.36e-05/3.739e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002907/0.002944, allocations: 0.8368 MB / 0.7883 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001855/0.004799, allocations: 1.206 MB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.004902, allocations: 4 kB / 0.7895 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.005039, allocations: 20.89 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.005168, allocations: 11.88 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.005726, allocations: 148.8 kB / 0.7897 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004672/0.006193, allocations: 344.3 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.006399, allocations: 70.84 kB / 0.7901 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.006756, allocations: 208.4 kB / 0.7903 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003801/0.007136, allocations: 149.4 kB / 0.7904 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.503e-05/0.007221, allocations: 32 kB / 0.7905 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.007347, allocations: 47.92 kB / 0.7905 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.007424, allocations: 47.89 kB / 0.7906 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.007558, allocations: 107.8 kB / 0.7907 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.007951, allocations: 320.6 kB / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.007955, allocations: 0 / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/0.007956, allocations: 0 / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.007962, allocations: 0 / 0.791 GB, free: 8.711 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.0007717/0.008734, allocations: 0.6078 MB / 0.7916 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.008779, allocations: 8.031 kB / 0.7916 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/0.008875, allocations: 40.8 kB / 0.7916 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.009146, allocations: 200.5 kB / 0.7918 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.009186, allocations: 20.36 kB / 0.7918 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.00923, allocations: 20.38 kB / 0.7918 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.009408, allocations: 110.8 kB / 0.7919 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.009417, allocations: 192 / 0.7919 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.009432, allocations: 8.375 kB / 0.792 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.00944, allocations: 4.375 kB / 0.792 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.009513, allocations: 35.91 kB / 0.792 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007083/0.01022, allocations: 0.4926 MB / 0.7925 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.01034, allocations: 67.59 kB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.648e-05/0.01038, allocations: 27.67 kB / 0.7926 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.0104, allocations: 4.594 kB / 0.7926 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.01057, allocations: 126.2 kB / 0.7927 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.774e-06/0.01057, allocations: 0 / 0.7927 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003049/0.01088, allocations: 155.9 kB / 0.7928 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.01092, allocations: 59.34 kB / 0.7929 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.01109, allocations: 256.3 kB / 0.7931 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.01113, allocations: 33.7 kB / 0.7932 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.596e-05/0.01122, allocations: 187.1 kB / 0.7933 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.01125, allocations: 40.78 kB / 0.7934 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.01136, allocations: 95.28 kB / 0.7935 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.01149, allocations: 0.504 MB / 0.794 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.01163, allocations: 161.9 kB / 0.7941 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.01179, allocations: 246.4 kB / 0.7944 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.01198, allocations: 262.1 kB / 0.7946 GB, free: 4.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01199, allocations: 7.938 kB / 0.7946 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004333/0.01242, allocations: 466.4 kB / 0.7951 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.002e-05/0.01248, allocations: 101.1 kB / 0.7952 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01249, allocations: 0 / 0.7952 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.0125, allocations: 4 kB / 0.7952 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.01258, allocations: 19.88 kB / 0.7952 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.01259, allocations: 0 / 0.7952 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.01278, allocations: 73.25 kB / 0.7952 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.01281, allocations: 23.98 kB / 0.7953 GB, free: 3.922 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.0001258/0.01293, allocations: 184.1 kB / 0.7954 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.01296, allocations: 19.91 kB / 0.7955 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.01315, allocations: 134.8 kB / 0.7956 GB, free: 3.578 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01315, allocations: 8.672 kB / 0.7956 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.01316, allocations: 7.938 kB / 0.7956 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.01316, allocations: 5.172 kB / 0.7956 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.0133, allocations: 149.2 kB / 0.7958 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.0133, allocations: 0 / 0.7958 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.842e-05/0.01335, allocations: 12.86 kB / 0.7958 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.01335, allocations: 0 / 0.7958 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.01336, allocations: 13.66 kB / 0.7958 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.01336, allocations: 0 / 0.7958 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01336, allocations: 0 / 0.7958 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.01351, allocations: 168.1 kB / 0.7959 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.01353, allocations: 19.88 kB / 0.796 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.01354, allocations: 8.625 kB / 0.796 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/0.01356, allocations: 0 / 0.796 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.0136, allocations: 12.8 kB / 0.796 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.01361, allocations: 7.984 kB / 0.796 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.926e-05/0.01368, allocations: 160 kB / 0.7961 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01368, allocations: 0 / 0.7961 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002181/0.0139, allocations: 69.11 kB / 0.7962 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.0001823/0.01408, allocations: 112.1 kB / 0.7963 GB, free: 2.789 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003909/0.01447, allocations: 420 kB / 0.7967 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.01447, allocations: 0 / 0.7967 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.569e-05/0.01454, allocations: 55.58 kB / 0.7968 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.01477, allocations: 44.52 kB / 0.7968 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.01526, allocations: 317.5 kB / 0.7971 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.099e-05/0.01531, allocations: 87.81 kB / 0.7972 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.61e-05/0.01535, allocations: 14.42 kB / 0.7972 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.01552, allocations: 134.1 kB / 0.7973 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.01552, allocations: 1.031 kB / 0.7973 GB, free: 1.629 MB / 0.7448 GB Notification: Performance of Templates: time 0.006351/0.02187, allocations: 4.305 MB / 0.8015 GB, free: 13.42 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.0354011482559144]