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.001479/0.001479, allocations: 84.39 kB / 20.23 MB, free: 4.312 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.0022/0.0022, allocations: 165.7 kB / 23.55 MB, free: 1.004 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.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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 2.736/2.736, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] 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.1.|conCom.y1.2.|conCom.y1.3.|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.1.|conCom.y1.2.|conCom.y1.3.|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.575e-06/2.575e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.923e-05/4.181e-05, allocations: 10.19 kB / 0.7864 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002758/0.002799, allocations: 0.8161 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002273/0.005072, allocations: 1.196 MB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.005199, allocations: 4 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.005361, allocations: 16.36 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.005493, allocations: 12.77 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006068/0.006099, allocations: 152 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005641/0.006664, allocations: 348.6 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.006887, allocations: 66.91 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004103/0.007297, allocations: 201.4 kB / 0.7891 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.00767, allocations: 147.8 kB / 0.7892 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.00777, allocations: 35.94 kB / 0.7893 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.007912, allocations: 47.98 kB / 0.7893 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9e-05/0.008002, allocations: 45.12 kB / 0.7893 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.00824, allocations: 111.8 kB / 0.7895 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.008973, allocations: 454.8 kB / 0.7899 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.008977, allocations: 0 / 0.7899 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.008979, allocations: 0.625 kB / 0.7899 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.23e-05/0.009001, allocations: 1.406 kB / 0.7899 GB, free: 9.238 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.001312/0.01031, allocations: 0.5025 MB / 0.7904 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.01035, allocations: 8.031 kB / 0.7904 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.01051, allocations: 45.47 kB / 0.7904 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.01095, allocations: 226.1 kB / 0.7906 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.011, allocations: 17.28 kB / 0.7907 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.01106, allocations: 20.38 kB / 0.7907 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.01142, allocations: 178.8 kB / 0.7909 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.01143, allocations: 192 / 0.7909 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.01145, allocations: 9.297 kB / 0.7909 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.01146, allocations: 4.375 kB / 0.7909 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.01174, allocations: 155.8 kB / 0.791 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.01281, allocations: 0.5461 MB / 0.7915 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.01306, allocations: 122.4 kB / 0.7917 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.0132, allocations: 72.73 kB / 0.7917 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.01322, allocations: 0 / 0.7917 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.01352, allocations: 182.7 kB / 0.7919 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.01352, allocations: 0 / 0.7919 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0006513/0.01417, allocations: 310.1 kB / 0.7922 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.01422, allocations: 55.41 kB / 0.7923 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.01446, allocations: 193.9 kB / 0.7924 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/0.01452, allocations: 37.69 kB / 0.7925 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.01468, allocations: 136.4 kB / 0.7926 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.01472, allocations: 35.69 kB / 0.7926 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.01492, allocations: 87.23 kB / 0.7927 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.0151, allocations: 326.8 kB / 0.793 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004974/0.0156, allocations: 320.9 kB / 0.7933 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005468/0.01615, allocations: 385.9 kB / 0.7937 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.01672, allocations: 400.5 kB / 0.7941 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.01672, allocations: 0 / 0.7941 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001269/0.01799, allocations: 0.7507 MB / 0.7948 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-05/0.01809, allocations: 98.09 kB / 0.7949 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.0181, allocations: 0 / 0.7949 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.01812, allocations: 11.94 kB / 0.7949 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.01825, allocations: 20.45 kB / 0.7949 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.01826, allocations: 4.531 kB / 0.795 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.01882, allocations: 106 kB / 0.7951 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.01888, allocations: 17.36 kB / 0.7951 GB, free: 3.594 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.0002122/0.01909, allocations: 169.7 kB / 0.7952 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.01913, allocations: 21.06 kB / 0.7953 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.01957, allocations: 235.3 kB / 0.7955 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.01958, allocations: 4.875 kB / 0.7955 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01958, allocations: 0 / 0.7955 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01958, allocations: 0 / 0.7955 GB, free: 3.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.01985, allocations: 198 kB / 0.7957 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01985, allocations: 0 / 0.7957 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-05/0.01993, allocations: 20.84 kB / 0.7957 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.01993, allocations: 0 / 0.7957 GB, free: 2.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.01994, allocations: 4 kB / 0.7957 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.01995, allocations: 5.328 kB / 0.7957 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.01995, allocations: 7.875 kB / 0.7957 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000409/0.02036, allocations: 255.2 kB / 0.796 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.02039, allocations: 12.88 kB / 0.796 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.02041, allocations: 3.984 kB / 0.796 GB, free: 2.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.138e-05/0.02046, allocations: 8 kB / 0.796 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.02053, allocations: 26.22 kB / 0.796 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.02055, allocations: 4 kB / 0.796 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000146/0.02069, allocations: 135.5 kB / 0.7961 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.02069, allocations: 0 / 0.7961 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003365/0.02103, allocations: 75.81 kB / 0.7962 GB, free: 2.379 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.0001848/0.02122, allocations: 112.6 kB / 0.7963 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009428/0.02216, allocations: 0.6161 MB / 0.7969 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.02216, allocations: 0 / 0.7969 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.02231, allocations: 87.88 kB / 0.797 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.02273, allocations: 37.17 kB / 0.797 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007505/0.02348, allocations: 393.7 kB / 0.7974 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.02364, allocations: 138 kB / 0.7975 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.47e-05/0.02373, allocations: 30.66 kB / 0.7976 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.02377, allocations: 17.16 kB / 0.7976 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.02377, allocations: 0 / 0.7976 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of Templates: time 0.008765/0.03254, allocations: 4.03 MB / 0.8015 GB, free: 12.94 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.8460674959933385]