Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.Table.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.Table,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_Table",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.001069/0.001069, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001429/0.001429, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.6883, allocations: 142.3 MB / 0.9538 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.Table): time 0.001677/0.69, allocations: 1.343 MB / 0.9552 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007596/0.6908, allocations: 485.5 kB / 0.9556 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.325e-05/0.6909, allocations: 5.062 kB / 0.9556 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.6914, allocations: 156 kB / 0.9558 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002852/0.6917, allocations: 141.9 kB / 0.9559 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.692, allocations: 166.3 kB / 0.9561 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.6922, allocations: 175.3 kB / 0.9562 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.6923, allocations: 28.31 kB / 0.9563 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.008e-05/0.6924, allocations: 64.94 kB / 0.9563 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.6926, allocations: 140.6 kB / 0.9565 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.6927, allocations: 8 kB / 0.9565 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.6928, allocations: 32.3 kB / 0.9565 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.716e-05/0.6928, allocations: 71.81 kB / 0.9566 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.6929, allocations: 56.36 kB / 0.9566 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.6931, allocations: 210.7 kB / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.6931, allocations: 0 / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6931, allocations: 0 / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.6931, allocations: 1.438 kB / 0.9568 GB, free: 5.902 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005897/0.6937, allocations: 0.5541 MB / 0.9574 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.6938, allocations: 17.05 kB / 0.9574 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.99e-05/0.6938, allocations: 31.97 kB / 0.9574 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.622e-05/0.6938, allocations: 33.05 kB / 0.9574 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.6943, allocations: 357.7 kB / 0.9578 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.6943, allocations: 2 kB / 0.9578 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.6943, allocations: 1.812 kB / 0.9578 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.6945, allocations: 84.41 kB / 0.9579 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.6945, allocations: 4 kB / 0.9579 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.6945, allocations: 0 / 0.9579 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6945, allocations: 1.781 kB / 0.9579 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.6947, allocations: 65.31 kB / 0.9579 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.6951, allocations: 428.3 kB / 0.9583 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.6953, allocations: 54.14 kB / 0.9584 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.6954, allocations: 38.27 kB / 0.9584 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.6954, allocations: 3.984 kB / 0.9584 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.6955, allocations: 40.03 kB / 0.9585 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.6955, allocations: 0 / 0.9585 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003627/0.6958, allocations: 129.9 kB / 0.9586 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.6959, allocations: 52.72 kB / 0.9586 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.6964, allocations: 0.5093 MB / 0.9591 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.6964, allocations: 25.7 kB / 0.9592 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.709e-05/0.6965, allocations: 170 kB / 0.9593 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.6965, allocations: 12.92 kB / 0.9593 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.6966, allocations: 0 / 0.9593 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.6966, allocations: 341.4 kB / 0.9597 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.6967, allocations: 23.33 kB / 0.9597 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.6968, allocations: 31.03 kB / 0.9597 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.005e-05/0.6969, allocations: 27.11 kB / 0.9597 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6969, allocations: 1.375 kB / 0.9597 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002108/0.6971, allocations: 108.3 kB / 0.9598 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.6971, allocations: 12.06 kB / 0.9599 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.6971, allocations: 1.375 kB / 0.9599 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.6972, allocations: 0 / 0.9599 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.6973, allocations: 13.61 kB / 0.9599 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.6973, allocations: 1.375 kB / 0.9599 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.311e-05/0.6973, allocations: 13.53 kB / 0.9599 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.6974, allocations: 5.359 kB / 0.9599 GB, free: 3.355 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.6975, allocations: 170.9 kB / 0.9601 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.677e-05/0.6975, allocations: 31.95 kB / 0.9601 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.6978, allocations: 118.9 kB / 0.9602 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6978, allocations: 1.375 kB / 0.9602 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6978, allocations: 4 kB / 0.9602 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6978, allocations: 0 / 0.9602 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.698, allocations: 262.8 kB / 0.9605 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.698, allocations: 0 / 0.9605 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.6981, allocations: 17.73 kB / 0.9605 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6981, allocations: 1.094 kB / 0.9605 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.6981, allocations: 5.078 kB / 0.9605 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6981, allocations: 0 / 0.9605 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6981, allocations: 0 / 0.9605 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.6984, allocations: 207.4 kB / 0.9607 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.6985, allocations: 119 kB / 0.9608 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.6985, allocations: 0.9688 kB / 0.9608 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.907e-05/0.6986, allocations: 14.23 kB / 0.9608 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.6986, allocations: 5.828 kB / 0.9608 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.6987, allocations: 1.031 kB / 0.9608 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003697/0.699, allocations: 383.9 kB / 0.9612 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.699, allocations: 0 / 0.9612 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002688/0.6993, allocations: 31.48 kB / 0.9612 GB, free: 2.324 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00105/0.7004, allocations: 0.986 MB / 0.9622 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002022/0.7006, allocations: 55.11 kB / 0.9622 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.7006, allocations: 0 / 0.9622 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.523e-05/0.7007, allocations: 34.06 kB / 0.9623 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.7011, allocations: 41.02 kB / 0.9623 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.7035, allocations: 1.753 MB / 0.964 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.7038, allocations: 0.7663 MB / 0.9648 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000102/0.7039, allocations: 42.3 kB / 0.9648 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.704, allocations: 91.3 kB / 0.9649 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.704, allocations: 3.938 kB / 0.9649 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.7201, allocations: 4.963 MB / 0.9697 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.7204, allocations: 226.5 kB / 0.9699 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.549, allocations: 0 / 0.9699 GB, free: 13.09 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Examples_Table.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.SetPoints.Examples.Table_res.mat does not exist to compare? outputFormat=mat