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.001371/0.001372, 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.001642/0.001642, allocations: 192.1 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 469.4 MB / 0.742 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 62.55 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3195, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002937/0.3225, allocations: 0.8328 MB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3245, allocations: 1.176 MB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.3247, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.3249, allocations: 19.86 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.3251, allocations: 7.875 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006764/0.3258, allocations: 142.3 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005634/0.3263, allocations: 363.4 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.3266, allocations: 110.5 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.3269, allocations: 143.7 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002755/0.3272, allocations: 123.6 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.3273, allocations: 32 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.3275, allocations: 51.98 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.211e-05/0.3276, allocations: 47.83 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.3279, allocations: 139.5 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006739/0.3286, allocations: 387.3 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3286, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 5.721e-06/0.3286, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.3286, allocations: 3.938 kB / 1.067 GB, free: 10.97 MB / 0.8262 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.001218/0.3299, allocations: 0.5741 MB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3299, allocations: 15.97 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.391e-05/0.33, allocations: 46.73 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.3301, allocations: 24.75 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.3305, allocations: 272.7 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.778e-05/0.3306, allocations: 28.3 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.07e-05/0.3307, allocations: 24.38 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.331, allocations: 175.4 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.331, allocations: 7.938 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.331, allocations: 8 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.331, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002463/0.3313, allocations: 147.9 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.3324, allocations: 0.6678 MB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.3326, allocations: 130.5 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.3327, allocations: 72.75 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3327, allocations: 4 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.333, allocations: 184.2 kB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.823e-06/0.333, allocations: 0 / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0005107/0.3335, allocations: 294.8 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3336, allocations: 55.41 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.3338, allocations: 194.3 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.839e-05/0.3338, allocations: 37.7 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.3339, allocations: 136.3 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.334, allocations: 47.44 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.3341, allocations: 81.67 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3343, allocations: 326.8 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000345/0.3346, allocations: 223.8 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.335, allocations: 280.3 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.3355, allocations: 393.6 kB / 1.071 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3355, allocations: 4 kB / 1.071 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008881/0.3364, allocations: 0.623 MB / 1.072 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.982e-05/0.3365, allocations: 101.1 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3365, allocations: 0 / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3365, allocations: 4 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3366, allocations: 19.92 kB / 1.072 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3366, allocations: 0 / 1.072 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005736/0.3372, allocations: 111.9 kB / 1.072 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.3373, allocations: 23.97 kB / 1.072 GB, free: 5.344 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.00017/0.3375, allocations: 173.6 kB / 1.072 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3375, allocations: 19.81 kB / 1.072 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.3378, allocations: 223.4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3379, allocations: 0 / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3379, allocations: 3.938 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3379, allocations: 4 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.3381, allocations: 277.3 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3381, allocations: 8 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.3382, allocations: 15.98 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.3382, allocations: 0 / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3383, allocations: 4 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3383, allocations: 4 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3383, allocations: 3.984 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.3386, allocations: 246 kB / 1.073 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.3386, allocations: 92.86 kB / 1.073 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.3387, allocations: 8 kB / 1.073 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.633e-05/0.3387, allocations: 3.984 kB / 1.073 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.3388, allocations: 15.98 kB / 1.073 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3388, allocations: 11.94 kB / 1.073 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.629e-05/0.3389, allocations: 136.2 kB / 1.073 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3389, allocations: 3.938 kB / 1.073 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003127/0.3392, allocations: 63.91 kB / 1.074 GB, free: 3.953 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.0005899/0.3398, allocations: 0.7991 MB / 1.074 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007104/0.3405, allocations: 0.5681 MB / 1.075 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3406, allocations: 0 / 1.075 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.3407, allocations: 93.2 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.341, allocations: 40.39 kB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003596/0.3446, allocations: 3.139 MB / 1.078 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.345, allocations: 0.7435 MB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.378e-05/0.345, allocations: 33.41 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.3451, allocations: 47.42 kB / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3451, allocations: 0 / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.3675, allocations: 5.651 MB / 1.084 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.415, allocations: 1.875 kB / 1.084 GB, free: 8.77 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv --start-time 0 --stop-time 2000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 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.csv","/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) "Warning: Resultfile and Reference have different end time points! Reffile[521]=2000.000000 File[1036]=1024.800000 Error: Could not read variable conCom.y1[1] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[1] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[2] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[2] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1[3] in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1[3] from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! Error: Could not read variable conCom.y1One in file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv. Warning: Get data of variable conCom.y1One from file Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.csv failed! " Variables in the reference:time,conCom.y1[1],conCom.y1[2],conCom.y1[3],conCom.y1One,conCom.nUniOn,conCom.nUniOnBou Variables in the result:time,conCom.booToRea[1].y,conCom.booToRea[2].y,conCom.booToRea[3].y,conCom.nUniOn,conCom.nUniOnBou