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.001567/0.001567, allocations: 78.48 kB / 19.18 MB, free: 2.531 MB / 14.72 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.001457/0.001457, allocations: 170.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.57/1.57, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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 2.962/2.962, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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.493e-06/1.493e-06, allocations: 3.938 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.089e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002071/0.002102, allocations: 0.8067 MB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.003886, allocations: 1.193 MB / 0.9834 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.549e-05/0.003961, allocations: 0 / 0.9834 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.004089, allocations: 19.86 kB / 0.9834 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.004196, allocations: 7.875 kB / 0.9834 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.004715, allocations: 166.3 kB / 0.9835 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.005181, allocations: 347.3 kB / 0.9839 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.005368, allocations: 62.91 kB / 0.9839 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.005619, allocations: 203.8 kB / 0.9841 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002672/0.005886, allocations: 147.7 kB / 0.9843 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.252e-05/0.005959, allocations: 32 kB / 0.9843 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.006082, allocations: 51.97 kB / 0.9844 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.006163, allocations: 39.84 kB / 0.9844 GB, free: 8.918 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.006337, allocations: 111.8 kB / 0.9845 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000556/0.006893, allocations: 454.8 kB / 0.9849 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006896, allocations: 0 / 0.9849 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006897, allocations: 0 / 0.9849 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.006903, allocations: 0 / 0.9849 GB, free: 8.363 MB / 0.9356 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.0009624/0.007866, allocations: 0.5103 MB / 0.9854 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.007906, allocations: 8.031 kB / 0.9854 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.008007, allocations: 28.8 kB / 0.9855 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.008438, allocations: 238 kB / 0.9857 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/0.008483, allocations: 16.38 kB / 0.9857 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/0.008548, allocations: 24.38 kB / 0.9857 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.008873, allocations: 178.1 kB / 0.9859 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.008883, allocations: 192 / 0.9859 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.008909, allocations: 12.36 kB / 0.9859 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.008916, allocations: 384 / 0.9859 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.009177, allocations: 159.8 kB / 0.9861 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009946/0.01017, allocations: 0.535 MB / 0.9866 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.01042, allocations: 122.7 kB / 0.9867 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.01054, allocations: 68.75 kB / 0.9868 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.01056, allocations: 8 kB / 0.9868 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.01084, allocations: 179.2 kB / 0.9869 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.01084, allocations: 0 / 0.9869 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0006075/0.01145, allocations: 308.6 kB / 0.9872 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.01151, allocations: 55.41 kB / 0.9873 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.01172, allocations: 191.2 kB / 0.9875 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.938e-05/0.01178, allocations: 41.64 kB / 0.9875 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.01194, allocations: 136.4 kB / 0.9876 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.01199, allocations: 47.67 kB / 0.9877 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.01217, allocations: 81.67 kB / 0.9878 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.01236, allocations: 330.8 kB / 0.9881 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/0.01288, allocations: 324.9 kB / 0.9884 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.01343, allocations: 383.7 kB / 0.9888 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.01397, allocations: 390.4 kB / 0.9891 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01398, allocations: 4 kB / 0.9891 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001153/0.01513, allocations: 0.7333 MB / 0.9899 GB, free: 2.984 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.01523, allocations: 97.09 kB / 0.9899 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.01524, allocations: 4 kB / 0.99 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.01526, allocations: 3.938 kB / 0.99 GB, free: 2.863 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.01537, allocations: 15.98 kB / 0.99 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.01538, allocations: 7.938 kB / 0.99 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005664/0.01595, allocations: 111.9 kB / 0.9901 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.016, allocations: 15.98 kB / 0.9901 GB, free: 2.715 MB / 0.9356 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.0002228/0.01622, allocations: 161.8 kB / 0.9903 GB, free: 2.547 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.01625, allocations: 15.91 kB / 0.9903 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.01669, allocations: 239.2 kB / 0.9905 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.0167, allocations: 7.938 kB / 0.9905 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.0167, allocations: 0 / 0.9905 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.0167, allocations: 0 / 0.9905 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.01696, allocations: 197.2 kB / 0.9907 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01696, allocations: 0 / 0.9907 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.497e-05/0.01703, allocations: 11.98 kB / 0.9907 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01703, allocations: 0 / 0.9907 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.01705, allocations: 8 kB / 0.9907 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01705, allocations: 0 / 0.9907 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01705, allocations: 3.938 kB / 0.9907 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000394/0.01745, allocations: 252.8 kB / 0.991 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.01747, allocations: 15.91 kB / 0.991 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.01749, allocations: 0 / 0.991 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.01754, allocations: 11.98 kB / 0.991 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.01762, allocations: 15.92 kB / 0.991 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.01764, allocations: 15.98 kB / 0.991 GB, free: 1.715 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001345/0.01777, allocations: 131.2 kB / 0.9911 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.01777, allocations: 0 / 0.9911 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003143/0.01809, allocations: 67.89 kB / 0.9912 GB, free: 1.52 MB / 0.9356 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.0002132/0.0183, allocations: 119.2 kB / 0.9913 GB, free: 1.391 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009506/0.01925, allocations: 0.6111 MB / 0.9919 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.01925, allocations: 0 / 0.9919 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001612/0.01941, allocations: 99.73 kB / 0.992 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.01973, allocations: 32.41 kB / 0.992 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.02043, allocations: 382.4 kB / 0.9924 GB, free: 204 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.02058, allocations: 143.9 kB / 0.9925 GB, free: 36 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.511e-05/0.02066, allocations: 33.45 kB / 0.9926 GB, free: 4 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.02071, allocations: 16.5 kB / 0.9926 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/0.02072, allocations: 0 / 0.9926 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of Templates: time 0.008697/0.02941, allocations: 4.025 MB / 0.9965 GB, free: 12.05 MB / 0.9512 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: 8.79210353270173]