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.00111/0.00111, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.636/1.636, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.71/2.71, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 65 kB / 0.8987 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3052, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002221/0.3075, allocations: 0.892 MB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.3089, allocations: 1.174 MB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.3089, allocations: 0 / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.3091, allocations: 11.94 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.977e-05/0.3092, allocations: 7.922 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.3096, allocations: 138.9 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003749/0.31, allocations: 359.4 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.3102, allocations: 110.5 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.3103, allocations: 151.7 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3105, allocations: 115.6 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.45e-05/0.3106, allocations: 36 kB / 1.055 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.6e-05/0.3107, allocations: 51.92 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.3107, allocations: 51.83 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.3109, allocations: 135.5 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.3112, allocations: 387.3 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3112, allocations: 0 / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3112, allocations: 0 / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.3113, allocations: 7.984 kB / 1.056 GB, free: 5.055 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.0007223/0.312, allocations: 0.578 MB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.312, allocations: 8.625 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/0.3121, allocations: 50.73 kB / 1.057 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/0.3122, allocations: 28.75 kB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.3125, allocations: 277.3 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.3126, allocations: 20.36 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-05/0.3126, allocations: 24.38 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.3129, allocations: 182.6 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3129, allocations: 3.938 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.3129, allocations: 4 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.3129, allocations: 4 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.3132, allocations: 155.9 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008767/0.314, allocations: 0.66 MB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.3142, allocations: 130.5 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.437e-05/0.3143, allocations: 76.69 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.3144, allocations: 8.125 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.3146, allocations: 179.1 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.3146, allocations: 0 / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0004863/0.3151, allocations: 295.5 kB / 1.059 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.3151, allocations: 59.34 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3153, allocations: 186.2 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.3153, allocations: 41.69 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.888e-05/0.3155, allocations: 132.4 kB / 1.059 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.3155, allocations: 51.38 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.3156, allocations: 81.67 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.3157, allocations: 326.8 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/0.3161, allocations: 223.8 kB / 1.06 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.3164, allocations: 278.7 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.3168, allocations: 389.4 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3168, allocations: 0 / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008338/0.3177, allocations: 0.6243 MB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/0.3177, allocations: 101.1 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3177, allocations: 4 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3178, allocations: 4 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.3179, allocations: 12 kB / 1.061 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3179, allocations: 12.14 kB / 1.061 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.3184, allocations: 107.7 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.3185, allocations: 23.98 kB / 1.061 GB, free: 15.43 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.0001532/0.3186, allocations: 171 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.3186, allocations: 11.81 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.319, allocations: 235.4 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.319, allocations: 0 / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.319, allocations: 0 / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.319, allocations: 0 / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.3192, allocations: 277.4 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3192, allocations: 0 / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.919e-05/0.3193, allocations: 15.98 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3193, allocations: 0 / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3193, allocations: 8 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3193, allocations: 7.938 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3193, allocations: 0 / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.3196, allocations: 255.2 kB / 1.062 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.3197, allocations: 92.86 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3197, allocations: 0 / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.3197, allocations: 11.98 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.3198, allocations: 15.98 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3198, allocations: 8 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.859e-05/0.3199, allocations: 140.2 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.242e-06/0.3199, allocations: 0 / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002786/0.3202, allocations: 71.83 kB / 1.062 GB, free: 14.04 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.0005472/0.3207, allocations: 0.7917 MB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006627/0.3214, allocations: 0.572 MB / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3214, allocations: 0 / 1.064 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3216, allocations: 91.88 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.3218, allocations: 34.66 kB / 1.064 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.3252, allocations: 3.193 MB / 1.067 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.3255, allocations: 0.7513 MB / 1.068 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.118e-05/0.3256, allocations: 25.42 kB / 1.068 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.203e-05/0.3257, allocations: 51.41 kB / 1.068 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3257, allocations: 0 / 1.068 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4252/0.7508, allocations: 5.538 MB / 1.073 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.7511, allocations: 228.9 kB / 1.073 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/3.663, allocations: 0 / 1.073 GB, free: 2.691 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