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.001616/0.001616, allocations: 99.64 kB / 18.94 MB, free: 2.539 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.001519/0.001519, allocations: 214.7 kB / 22.25 MB, free: 4.867 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: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.336/3.336, allocations: 0.4892 GB / 0.7943 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 72.31 kB / 1.153 GB, free: 25.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4178, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002834/0.4206, allocations: 0.821 MB / 1.326 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.4228, allocations: 1.186 MB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.4229, allocations: 4 kB / 1.327 GB, free: 364 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.4231, allocations: 15.86 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.4232, allocations: 11.88 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.4239, allocations: 156.3 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005912/0.4245, allocations: 343.4 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.4247, allocations: 66.8 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.425, allocations: 151.7 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/0.4254, allocations: 163.6 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.4255, allocations: 32 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.4256, allocations: 40 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.4257, allocations: 47.84 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.426, allocations: 127.6 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006428/0.4266, allocations: 399.1 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4267, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4267, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.4267, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 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.001239/0.4279, allocations: 0.5103 MB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.428, allocations: 12.03 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.428, allocations: 46.73 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.4281, allocations: 24.84 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.4286, allocations: 230.8 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.4287, allocations: 20.38 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.4288, allocations: 24.36 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003529/0.4291, allocations: 178.1 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4291, allocations: 3.938 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.4291, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.4292, allocations: 4 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.4294, allocations: 147.9 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.4306, allocations: 0.5734 MB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.4309, allocations: 126.5 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.431, allocations: 72.75 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.431, allocations: 0 / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003312/0.4313, allocations: 175.4 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.514e-06/0.4313, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0006173/0.432, allocations: 299.8 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.432, allocations: 55.41 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.4322, allocations: 190.7 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-05/0.4323, allocations: 41.69 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.4324, allocations: 136.4 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.4325, allocations: 55.52 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.4327, allocations: 81.67 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4328, allocations: 330.8 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004704/0.4333, allocations: 320.9 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.4338, allocations: 381.5 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.4344, allocations: 405.7 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.4344, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00117/0.4355, allocations: 0.7296 MB / 1.333 GB, free: 9.367 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.4356, allocations: 97.09 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4356, allocations: 7.938 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.4357, allocations: 0 / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.4358, allocations: 16.2 kB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4358, allocations: 8 kB / 1.334 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.4364, allocations: 111.7 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.242e-05/0.4364, allocations: 15.98 kB / 1.334 GB, free: 9.098 MB / 1.029 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.00024/0.4367, allocations: 174.2 kB / 1.334 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/0.4367, allocations: 15.91 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.4372, allocations: 235.3 kB / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4372, allocations: 0 / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4372, allocations: 0 / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4372, allocations: 0 / 1.334 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.4375, allocations: 240.5 kB / 1.334 GB, free: 8.383 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.4375, allocations: 4 kB / 1.334 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.4375, allocations: 11.98 kB / 1.334 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4375, allocations: 0 / 1.334 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.4376, allocations: 4 kB / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4376, allocations: 4 kB / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4376, allocations: 0 / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.438, allocations: 258.7 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.438, allocations: 15.91 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.438, allocations: 0 / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.184e-05/0.4381, allocations: 7.984 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.4381, allocations: 15.97 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.4381, allocations: 12 kB / 1.335 GB, free: 8.039 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001291/0.4383, allocations: 127.2 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4383, allocations: 0 / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000344/0.4386, allocations: 75.83 kB / 1.335 GB, free: 7.84 MB / 1.029 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.0008211/0.4394, allocations: 0.8018 MB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008834/0.4403, allocations: 0.6083 MB / 1.336 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4403, allocations: 0 / 1.336 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.4405, allocations: 90.69 kB / 1.336 GB, free: 6.262 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.4408, allocations: 40.31 kB / 1.336 GB, free: 6.223 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.4456, allocations: 3.58 MB / 1.34 GB, free: 2.426 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.4458, allocations: 139.9 kB / 1.34 GB, free: 2.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.4459, allocations: 33.41 kB / 1.34 GB, free: 2.234 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.446, allocations: 47.42 kB / 1.34 GB, free: 2.188 MB / 1.029 GB Notification: Performance of SimCode: time 1.172e-06/0.446, allocations: 3.938 kB / 1.34 GB, free: 2.184 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04058/0.4866, allocations: 6.569 MB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.19, allocations: 10.27 kB / 1.347 GB, free: 11.81 MB / 1.045 GB " [Timeout remaining time 288] (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/jenkins1/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: 19.26027465099469]