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.001911/0.001911, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00252/0.00252, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.8 MB / 0.7707 GB, free: 4.332 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_11_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.001988/0.001988, allocations: 64.53 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3714, allocations: 170 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002968/0.3743, allocations: 0.846 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.3765, allocations: 1.196 MB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.3766, allocations: 4 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.3767, allocations: 19.86 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001364/0.3769, allocations: 19.84 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.3775, allocations: 141.9 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005744/0.3781, allocations: 351.3 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.3783, allocations: 62.81 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.3785, allocations: 147.8 kB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.3789, allocations: 139.6 kB / 1.286 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.379, allocations: 36 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3791, allocations: 55.91 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.138e-05/0.3792, allocations: 47.91 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.3794, allocations: 135.5 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005563/0.38, allocations: 398.3 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.38, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.923e-06/0.38, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.38, allocations: 0 / 1.287 GB, free: 8.059 MB / 0.9825 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.001029/0.381, allocations: 0.5064 MB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3811, allocations: 16.03 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.221e-05/0.3811, allocations: 46.73 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.877e-05/0.3812, allocations: 24.84 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.3817, allocations: 227.6 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/0.3818, allocations: 20.36 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.3818, allocations: 20.38 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003436/0.3822, allocations: 179.4 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.3822, allocations: 3.938 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.3822, allocations: 4 kB / 1.288 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3822, allocations: 11.98 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.3825, allocations: 148.3 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.3836, allocations: 0.6436 MB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.3839, allocations: 126.4 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.384, allocations: 72.75 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.384, allocations: 7.984 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.3843, allocations: 175.2 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3843, allocations: 0 / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0005907/0.3849, allocations: 301.5 kB / 1.289 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.3849, allocations: 59.39 kB / 1.289 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.3852, allocations: 190.2 kB / 1.29 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.3852, allocations: 45.69 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.3854, allocations: 128.4 kB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.3854, allocations: 47.62 kB / 1.29 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.3856, allocations: 81.67 kB / 1.29 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3858, allocations: 330.8 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.3861, allocations: 223.7 kB / 1.29 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.3866, allocations: 281.1 kB / 1.291 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.3871, allocations: 393.7 kB / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3871, allocations: 0 / 1.291 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001058/0.3882, allocations: 0.6348 MB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.068e-05/0.3882, allocations: 97.09 kB / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3883, allocations: 0 / 1.292 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.3883, allocations: 7.984 kB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3884, allocations: 24.14 kB / 1.292 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.3884, allocations: 4 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/0.3889, allocations: 99.77 kB / 1.292 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.389, allocations: 23.98 kB / 1.292 GB, free: 2.605 MB / 0.9825 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.000205/0.3892, allocations: 169.7 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/0.3892, allocations: 15.91 kB / 1.292 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004214/0.3897, allocations: 237.5 kB / 1.292 GB, free: 2.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3897, allocations: 4 kB / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3897, allocations: 0 / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3897, allocations: 0 / 1.292 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.39, allocations: 244.5 kB / 1.292 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.39, allocations: 0 / 1.292 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.39, allocations: 8 kB / 1.292 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.39, allocations: 8 kB / 1.293 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.39, allocations: 3.984 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.39, allocations: 3.938 kB / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.39, allocations: 0 / 1.293 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.3904, allocations: 248.8 kB / 1.293 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.3904, allocations: 19.84 kB / 1.293 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.3905, allocations: 7.922 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.3905, allocations: 4 kB / 1.293 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.3906, allocations: 19.97 kB / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3906, allocations: 12 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001262/0.3907, allocations: 132.2 kB / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3907, allocations: 0 / 1.293 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003377/0.391, allocations: 75.88 kB / 1.293 GB, free: 1.34 MB / 0.9825 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.0007723/0.3918, allocations: 0.795 MB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007901/0.3926, allocations: 0.5147 MB / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3926, allocations: 0 / 1.294 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.3928, allocations: 91.86 kB / 1.294 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.3931, allocations: 42.62 kB / 1.294 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/0.3974, allocations: 3.168 MB / 1.298 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.398, allocations: 0.7513 MB / 1.298 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.883e-05/0.3981, allocations: 25.42 kB / 1.298 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.566e-05/0.3982, allocations: 51.41 kB / 1.298 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of SimCode: time 8.61e-07/0.3982, allocations: 0 / 1.298 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.4349, allocations: 5.885 MB / 1.304 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.11, allocations: 13.89 kB / 1.304 GB, free: 5.953 MB / 0.9981 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --stepSize=0.8 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.78549782000482]