Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008832/0.0008832, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.001004/0.001004, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8829/0.8829, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.754/1.754, allocations: 377.9 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9822 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.43e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.109 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.00167/0.001705, allocations: 0.8104 MB / 0.983 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.002887, allocations: 1.193 MB / 0.9841 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.002957, allocations: 4 kB / 0.9841 GB, free: 92 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.003061, allocations: 15.86 kB / 0.9841 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.003163, allocations: 15.86 kB / 0.9842 GB, free: 60 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.003564, allocations: 150.9 kB / 0.9843 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002974/0.003862, allocations: 351.3 kB / 0.9846 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.004023, allocations: 66.91 kB / 0.9847 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.004175, allocations: 203.8 kB / 0.9849 GB, free: 15.31 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.004357, allocations: 155.6 kB / 0.9851 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.0044, allocations: 32 kB / 0.9851 GB, free: 15.12 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.976e-05/0.00448, allocations: 47.98 kB / 0.9851 GB, free: 15.08 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 5.464e-05/0.004534, allocations: 43.84 kB / 0.9852 GB, free: 15.04 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.759e-05/0.004632, allocations: 107.8 kB / 0.9853 GB, free: 14.93 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.005007, allocations: 454.8 kB / 0.9857 GB, free: 14.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.00501, allocations: 4 kB / 0.9857 GB, free: 14.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.713e-06/0.005012, allocations: 0 / 0.9857 GB, free: 14.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.005017, allocations: 0 / 0.9857 GB, free: 14.48 MB / 0.948 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.0006713/0.005688, allocations: 0.5142 MB / 0.9862 GB, free: 13.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.005727, allocations: 8.031 kB / 0.9862 GB, free: 13.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.005798, allocations: 32.8 kB / 0.9862 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.006088, allocations: 222.1 kB / 0.9865 GB, free: 13.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.006124, allocations: 20.36 kB / 0.9865 GB, free: 13.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.006161, allocations: 20.38 kB / 0.9865 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.006398, allocations: 178.1 kB / 0.9867 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.006408, allocations: 192 / 0.9867 GB, free: 13.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.006423, allocations: 8.312 kB / 0.9867 GB, free: 13.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006429, allocations: 8.312 kB / 0.9867 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.006598, allocations: 155.8 kB / 0.9868 GB, free: 13.24 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006709/0.007269, allocations: 0.539 MB / 0.9874 GB, free: 12.67 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.007431, allocations: 118.4 kB / 0.9875 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/0.007505, allocations: 72.8 kB / 0.9875 GB, free: 12.47 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.007527, allocations: 0 / 0.9875 GB, free: 12.47 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.007716, allocations: 183.1 kB / 0.9877 GB, free: 12.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 3.476e-06/0.007719, allocations: 3.984 kB / 0.9877 GB, free: 12.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0003961/0.008115, allocations: 308.4 kB / 0.988 GB, free: 11.97 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.008153, allocations: 59.41 kB / 0.9881 GB, free: 11.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.008286, allocations: 195.2 kB / 0.9883 GB, free: 11.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.008317, allocations: 29.7 kB / 0.9883 GB, free: 11.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.008399, allocations: 128.5 kB / 0.9884 GB, free: 11.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.008425, allocations: 43.67 kB / 0.9885 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.787e-05/0.008523, allocations: 89.66 kB / 0.9885 GB, free: 11.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.008606, allocations: 326.8 kB / 0.9888 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.008897, allocations: 320.9 kB / 0.9892 GB, free: 10.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.009188, allocations: 379.7 kB / 0.9895 GB, free: 10.32 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.009582, allocations: 397.9 kB / 0.9899 GB, free: 9.895 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.009585, allocations: 0 / 0.9899 GB, free: 9.895 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006461/0.01023, allocations: 0.7296 MB / 0.9906 GB, free: 9.121 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.01029, allocations: 101.3 kB / 0.9907 GB, free: 9.004 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.01029, allocations: 4 kB / 0.9907 GB, free: 9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.01031, allocations: 7.938 kB / 0.9907 GB, free: 8.992 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.01041, allocations: 19.92 kB / 0.9907 GB, free: 8.973 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01041, allocations: 0 / 0.9907 GB, free: 8.973 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.01068, allocations: 107.8 kB / 0.9908 GB, free: 8.867 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.01071, allocations: 23.98 kB / 0.9909 GB, free: 8.844 MB / 0.948 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.0001268/0.01083, allocations: 165.7 kB / 0.991 GB, free: 8.672 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.01085, allocations: 19.89 kB / 0.991 GB, free: 8.652 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.01111, allocations: 223.4 kB / 0.9913 GB, free: 8.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.01112, allocations: 11.92 kB / 0.9913 GB, free: 8.418 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01112, allocations: 0 / 0.9913 GB, free: 8.418 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01113, allocations: 0 / 0.9913 GB, free: 8.418 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.01127, allocations: 197.1 kB / 0.9915 GB, free: 8.195 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01127, allocations: 7.938 kB / 0.9915 GB, free: 8.188 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.01132, allocations: 15.98 kB / 0.9915 GB, free: 8.172 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-06/0.01132, allocations: 3.938 kB / 0.9915 GB, free: 8.168 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.01133, allocations: 8 kB / 0.9915 GB, free: 8.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01133, allocations: 0 / 0.9915 GB, free: 8.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.01134, allocations: 7.938 kB / 0.9915 GB, free: 8.152 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.01155, allocations: 244.4 kB / 0.9917 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.01156, allocations: 15.84 kB / 0.9917 GB, free: 7.883 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.585e-05/0.01157, allocations: 4 kB / 0.9917 GB, free: 7.879 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.529e-05/0.0116, allocations: 4 kB / 0.9917 GB, free: 7.875 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.01164, allocations: 23.91 kB / 0.9918 GB, free: 7.852 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.01165, allocations: 8 kB / 0.9918 GB, free: 7.844 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.252e-05/0.01173, allocations: 139.2 kB / 0.9919 GB, free: 7.707 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01173, allocations: 0 / 0.9919 GB, free: 7.707 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002036/0.01193, allocations: 63.94 kB / 0.992 GB, free: 7.645 MB / 0.948 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.0001459/0.01208, allocations: 109.6 kB / 0.9921 GB, free: 7.527 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005238/0.0126, allocations: 0.6161 MB / 0.9927 GB, free: 6.855 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.0126, allocations: 448 / 0.9927 GB, free: 6.855 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.811e-05/0.0127, allocations: 99.86 kB / 0.9928 GB, free: 6.758 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.01293, allocations: 46.55 kB / 0.9928 GB, free: 6.715 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.01344, allocations: 404.1 kB / 0.9932 GB, free: 6.289 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.73e-05/0.01354, allocations: 147.9 kB / 0.9933 GB, free: 6.121 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.01358, allocations: 20.5 kB / 0.9934 GB, free: 6.102 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/0.01358, allocations: 0 / 0.9934 GB, free: 6.102 MB / 0.948 GB Notification: Performance of Templates: time 0.003918/0.0175, allocations: 3.318 MB / 0.9966 GB, free: 2.801 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.043910367414355]