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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00428/0.00428, allocations: 97.36 kB / 15.73 MB, free: 5.988 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.001238/0.001238, allocations: 188.2 kB / 16.67 MB, free: 5.918 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.953/2.953, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 64.12 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.288, allocations: 162.2 MB / 1.241 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002065/0.2901, allocations: 0.8294 MB / 1.242 GB, free: 9.418 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.2917, allocations: 1.17 MB / 1.243 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.782e-05/0.2917, allocations: 3.938 kB / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2919, allocations: 19.86 kB / 1.243 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.321e-05/0.292, allocations: 3.938 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.2924, allocations: 147.3 kB / 1.244 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004677/0.2929, allocations: 371.4 kB / 1.244 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.2931, allocations: 114.5 kB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.2933, allocations: 147.7 kB / 1.244 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.2936, allocations: 143.5 kB / 1.244 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.924e-05/0.2937, allocations: 32 kB / 1.244 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.2938, allocations: 51.92 kB / 1.244 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.2939, allocations: 47.83 kB / 1.244 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.2941, allocations: 139.5 kB / 1.245 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.2946, allocations: 390.8 kB / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2946, allocations: 0 / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2946, allocations: 0 / 1.245 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.2946, allocations: 8 kB / 1.245 GB, free: 6.652 MB / 0.9981 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.0008738/0.2955, allocations: 0.5856 MB / 1.246 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2955, allocations: 12.02 kB / 1.246 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.985e-05/0.2956, allocations: 46.69 kB / 1.246 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.143e-05/0.2957, allocations: 32.78 kB / 1.246 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.296, allocations: 277.7 kB / 1.246 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.737e-05/0.2961, allocations: 16.38 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.998e-05/0.2961, allocations: 24.36 kB / 1.246 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.2965, allocations: 186.1 kB / 1.246 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2965, allocations: 3.938 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.2965, allocations: 4 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2965, allocations: 4 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.2968, allocations: 143.9 kB / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.2978, allocations: 0.6641 MB / 1.247 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.298, allocations: 126.5 kB / 1.247 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.2982, allocations: 80.72 kB / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.2982, allocations: 4 kB / 1.247 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002617/0.2985, allocations: 181.9 kB / 1.247 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.2985, allocations: 0 / 1.247 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.0005511/0.299, allocations: 293.4 kB / 1.248 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.2991, allocations: 55.41 kB / 1.248 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.2993, allocations: 194.2 kB / 1.248 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.2993, allocations: 37.7 kB / 1.248 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.2995, allocations: 136.5 kB / 1.248 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.2995, allocations: 47.67 kB / 1.248 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.2997, allocations: 81.67 kB / 1.248 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.2999, allocations: 322.8 kB / 1.248 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.3003, allocations: 227.8 kB / 1.249 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004343/0.3007, allocations: 283.5 kB / 1.249 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/0.3013, allocations: 389.2 kB / 1.249 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3013, allocations: 0 / 1.249 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00101/0.3023, allocations: 0.6232 MB / 1.25 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.936e-05/0.3024, allocations: 101.1 kB / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3024, allocations: 4 kB / 1.25 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3024, allocations: 4 kB / 1.25 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.789e-05/0.3025, allocations: 19.92 kB / 1.25 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3025, allocations: 0 / 1.25 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.3031, allocations: 119.7 kB / 1.25 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.3032, allocations: 23.98 kB / 1.25 GB, free: 1.008 MB / 0.9981 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.0001765/0.3033, allocations: 166.9 kB / 1.25 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.3034, allocations: 15.89 kB / 1.25 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003904/0.3038, allocations: 234.5 kB / 1.25 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3038, allocations: 0 / 1.25 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3038, allocations: 3.984 kB / 1.25 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3038, allocations: 4 kB / 1.25 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002752/0.3041, allocations: 273.4 kB / 1.251 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3041, allocations: 0 / 1.251 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.621e-05/0.3042, allocations: 19.92 kB / 1.251 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3042, allocations: 0 / 1.251 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3042, allocations: 0 / 1.251 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3042, allocations: 4 kB / 1.251 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3042, allocations: 0 / 1.251 GB, free: 240 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4688/0.773, allocations: 249 kB / 1.251 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.7731, allocations: 86.47 kB / 1.251 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.7732, allocations: 5.828 kB / 1.251 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.7732, allocations: 8.391 kB / 1.251 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.7733, allocations: 13.8 kB / 1.251 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.7733, allocations: 10.14 kB / 1.251 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001024/0.7735, allocations: 132.7 kB / 1.251 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7735, allocations: 0 / 1.251 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003897/0.7739, allocations: 69.34 kB / 1.251 GB, free: 15.07 MB / 0.9981 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.0005215/0.7744, allocations: 0.7919 MB / 1.252 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007014/0.7751, allocations: 0.5562 MB / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7751, allocations: 0.7812 kB / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.7753, allocations: 100.7 kB / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.7756, allocations: 38.73 kB / 1.253 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/0.7791, allocations: 3.16 MB / 1.256 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.7793, allocations: 0.7468 MB / 1.257 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.233e-05/0.7793, allocations: 28.36 kB / 1.257 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.7794, allocations: 48.06 kB / 1.257 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.7794, allocations: 2.938 kB / 1.257 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.8067, allocations: 5.701 MB / 1.262 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.627, allocations: 14.39 kB / 1.262 GB, free: 11.49 MB / 0.9981 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 400 --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