Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Components.Controls.Validation.MultipleCommands,fileNamePrefix="Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 194.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.483/2.483, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 65.45 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3247, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002137/0.3269, allocations: 0.835 MB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3283, allocations: 1.178 MB / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.3284, allocations: 0 / 1.055 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.3285, allocations: 15.86 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.3286, allocations: 11.88 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.329, allocations: 147.1 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.3294, allocations: 355.4 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.3296, allocations: 102.5 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.3298, allocations: 159.7 kB / 1.056 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.3299, allocations: 119.6 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.33, allocations: 36 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.3301, allocations: 43.98 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-05/0.3302, allocations: 47.84 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.3303, allocations: 135.5 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000367/0.3307, allocations: 391.3 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3307, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3307, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.3307, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 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.0007593/0.3315, allocations: 0.5858 MB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3315, allocations: 8.625 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.401e-05/0.3316, allocations: 42.75 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.3317, allocations: 28.73 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.332, allocations: 281.3 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.332, allocations: 16.38 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.3321, allocations: 24.36 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.3324, allocations: 178.6 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3324, allocations: 7.922 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3324, allocations: 8 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3324, allocations: 4 kB / 1.057 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.3326, allocations: 152.6 kB / 1.058 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000906/0.3336, allocations: 0.664 MB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.3338, allocations: 126.4 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3339, allocations: 76.73 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3339, allocations: 0 / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.3342, allocations: 189.2 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.3342, allocations: 0 / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0005069/0.3347, allocations: 297.5 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.3348, allocations: 59.34 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.3349, allocations: 190.8 kB / 1.059 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.335, allocations: 37.64 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3351, allocations: 132.4 kB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.3352, allocations: 43.45 kB / 1.059 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.3353, allocations: 89.66 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3354, allocations: 322.8 kB / 1.06 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.3358, allocations: 223.8 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.3362, allocations: 280.2 kB / 1.06 GB, free: 448 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004541/0.3366, allocations: 385.4 kB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3366, allocations: 4 kB / 1.061 GB, free: 16 kB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008772/0.3375, allocations: 0.6289 MB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.334e-05/0.3376, allocations: 97.09 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3376, allocations: 8 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3376, allocations: 0 / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.3377, allocations: 19.92 kB / 1.061 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3377, allocations: 7.984 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.3383, allocations: 111.9 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.3383, allocations: 19.98 kB / 1.062 GB, free: 15.09 MB / 0.8262 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.0001679/0.3385, allocations: 174.7 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.3385, allocations: 15.81 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.3389, allocations: 233.5 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3389, allocations: 4 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3389, allocations: 0 / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3389, allocations: 0 / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3391, allocations: 277.4 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3391, allocations: 0 / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.3392, allocations: 11.98 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3392, allocations: 7.938 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3392, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3392, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3392, allocations: 8 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.3395, allocations: 240.8 kB / 1.062 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.3396, allocations: 100.8 kB / 1.063 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.3396, allocations: 0 / 1.063 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.313e-05/0.3397, allocations: 4 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.3397, allocations: 27.89 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.3397, allocations: 8 kB / 1.063 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00011/0.3399, allocations: 135.2 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3399, allocations: 0 / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000286/0.3402, allocations: 71.91 kB / 1.063 GB, free: 13.7 MB / 0.8262 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.0006503/0.3408, allocations: 0.7942 MB / 1.064 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007544/0.3416, allocations: 0.572 MB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3416, allocations: 0 / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.3417, allocations: 95.88 kB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.342, allocations: 35.56 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.3454, allocations: 3.149 MB / 1.067 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.3457, allocations: 0.7396 MB / 1.068 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.633e-05/0.3458, allocations: 33.41 kB / 1.068 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.3459, allocations: 51.42 kB / 1.068 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3459, allocations: 0 / 1.068 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.169/2.515, allocations: 5.634 MB / 1.074 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/12.61, allocations: 19.25 kB / 1.074 GB, free: 2.5 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Components_Controls_Validation_MultipleCommands.fmu > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Controls_Validation_MultipleCommands.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches