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.0007834/0.0007834, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007982/0.0007982, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8625/0.8625, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.669/1.669, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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: "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.243e-05, allocations: 4.953 kB / 0.9809 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001562/0.001585, allocations: 0.8143 MB / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.002869, allocations: 1.197 MB / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.002934, allocations: 0 / 0.9829 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.003037, allocations: 15.86 kB / 0.9829 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.003139, allocations: 11.88 kB / 0.9829 GB, free: 0.5664 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.003538, allocations: 156.7 kB / 0.9831 GB, free: 428 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0003/0.003838, allocations: 351.3 kB / 0.9834 GB, free: 76 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.003988, allocations: 66.84 kB / 0.9835 GB, free: 12 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.004153, allocations: 211.7 kB / 0.9837 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.004329, allocations: 143.8 kB / 0.9838 GB, free: 15.66 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.639e-05/0.004366, allocations: 32 kB / 0.9838 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.956e-05/0.004445, allocations: 47.97 kB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.004713, allocations: 43.84 kB / 0.9839 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.437e-05/0.004807, allocations: 111.8 kB / 0.984 GB, free: 15.43 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.005121, allocations: 450.9 kB / 0.9845 GB, free: 14.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.005126, allocations: 4 kB / 0.9845 GB, free: 14.99 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.41e-07/0.005126, allocations: 0 / 0.9845 GB, free: 14.99 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.00513, allocations: 0 / 0.9845 GB, free: 14.99 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.0005852/0.005716, allocations: 0.5141 MB / 0.985 GB, free: 14.42 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.005751, allocations: 12.02 kB / 0.985 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.005786, allocations: 46.75 kB / 0.985 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.005845, allocations: 32.78 kB / 0.9851 GB, free: 14.32 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.006105, allocations: 230.1 kB / 0.9853 GB, free: 14.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.006135, allocations: 16.38 kB / 0.9853 GB, free: 14.05 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.006168, allocations: 28.38 kB / 0.9853 GB, free: 14.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.006374, allocations: 178.1 kB / 0.9855 GB, free: 13.85 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.006385, allocations: 4.188 kB / 0.9855 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.0064, allocations: 4.375 kB / 0.9855 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.006407, allocations: 8.125 kB / 0.9855 GB, free: 13.83 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.006564, allocations: 139.9 kB / 0.9856 GB, free: 13.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006498/0.007214, allocations: 0.5735 MB / 0.9862 GB, free: 13.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.007363, allocations: 114.5 kB / 0.9863 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.625e-05/0.007439, allocations: 72.8 kB / 0.9864 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.00746, allocations: 8 kB / 0.9864 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.007637, allocations: 179.3 kB / 0.9866 GB, free: 12.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.007639, allocations: 0 / 0.9866 GB, free: 12.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0003639/0.008003, allocations: 300 kB / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.008035, allocations: 55.41 kB / 0.9869 GB, free: 12.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.008156, allocations: 195.2 kB / 0.9871 GB, free: 12.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.008186, allocations: 37.7 kB / 0.9871 GB, free: 12.08 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.406e-05/0.00826, allocations: 136.4 kB / 0.9873 GB, free: 11.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.008282, allocations: 39.69 kB / 0.9873 GB, free: 11.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.00857, allocations: 89.59 kB / 0.9874 GB, free: 11.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.723e-05/0.008647, allocations: 330.8 kB / 0.9877 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.008926, allocations: 324.9 kB / 0.988 GB, free: 11.14 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/0.009212, allocations: 383.6 kB / 0.9884 GB, free: 10.72 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.009522, allocations: 394 kB / 0.9887 GB, free: 10.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.009525, allocations: 8 kB / 0.9887 GB, free: 10.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006213/0.01015, allocations: 0.7219 MB / 0.9895 GB, free: 9.523 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/0.01019, allocations: 101 kB / 0.9896 GB, free: 9.406 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.0102, allocations: 0 / 0.9896 GB, free: 9.406 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.01021, allocations: 7.938 kB / 0.9896 GB, free: 9.398 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.01028, allocations: 12 kB / 0.9896 GB, free: 9.387 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01029, allocations: 7.984 kB / 0.9896 GB, free: 9.379 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.01055, allocations: 108 kB / 0.9897 GB, free: 9.273 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.01058, allocations: 19.98 kB / 0.9897 GB, free: 9.254 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.0001147/0.01069, allocations: 167.9 kB / 0.9899 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.01071, allocations: 19.84 kB / 0.9899 GB, free: 9.062 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.01094, allocations: 243.2 kB / 0.9901 GB, free: 8.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01094, allocations: 0 / 0.9901 GB, free: 8.82 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01095, allocations: 0 / 0.9901 GB, free: 8.82 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.01095, allocations: 0 / 0.9901 GB, free: 8.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.01111, allocations: 232.5 kB / 0.9903 GB, free: 8.551 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.01111, allocations: 4 kB / 0.9903 GB, free: 8.547 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.01114, allocations: 11.98 kB / 0.9903 GB, free: 8.535 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01115, allocations: 3.938 kB / 0.9904 GB, free: 8.531 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.01116, allocations: 8 kB / 0.9904 GB, free: 8.523 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.01116, allocations: 0 / 0.9904 GB, free: 8.523 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01116, allocations: 0 / 0.9904 GB, free: 8.523 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.0114, allocations: 260.2 kB / 0.9906 GB, free: 8.254 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.01141, allocations: 19.89 kB / 0.9906 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.01143, allocations: 3.938 kB / 0.9906 GB, free: 8.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.01145, allocations: 7.984 kB / 0.9906 GB, free: 8.223 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.01149, allocations: 11.98 kB / 0.9906 GB, free: 8.211 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.0115, allocations: 12 kB / 0.9907 GB, free: 8.199 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.852e-05/0.01157, allocations: 131.2 kB / 0.9908 GB, free: 8.07 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01157, allocations: 0 / 0.9908 GB, free: 8.07 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000199/0.01177, allocations: 71.89 kB / 0.9909 GB, free: 8 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.0004369/0.01221, allocations: 0.7957 MB / 0.9916 GB, free: 7.172 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.01276, allocations: 0.6161 MB / 0.9922 GB, free: 6.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01276, allocations: 3.938 kB / 0.9922 GB, free: 6.496 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.01285, allocations: 87.88 kB / 0.9923 GB, free: 6.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.01305, allocations: 36.39 kB / 0.9924 GB, free: 6.375 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.01611, allocations: 3.564 MB / 0.9958 GB, free: 2.594 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.01622, allocations: 140 kB / 0.996 GB, free: 2.434 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.965e-05/0.01628, allocations: 33.47 kB / 0.996 GB, free: 2.402 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.873e-05/0.01635, allocations: 48.48 kB / 0.996 GB, free: 2.355 MB / 0.948 GB Notification: Performance of SimCode: time 6.02e-07/0.01635, allocations: 0 / 0.996 GB, free: 2.355 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.03294, allocations: 6.697 MB / 1.003 GB, free: 11.88 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.542/6.575, allocations: 8.953 kB / 1.003 GB, free: 11.88 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 420.0] 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: 10.467303768731654]