Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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.001149/0.001149, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.00199/0.00199, allocations: 172.7 kB / 15.95 MB, free: 208 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.426/1.426, allocations: 223.2 MB / 240 MB, free: 5.43 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.431/2.431, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003751, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7923/0.7927, allocations: 142.3 MB / 0.9538 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001035/0.7937, allocations: 0.9309 MB / 0.9548 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001902/0.794, allocations: 59.53 kB / 0.9548 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.794, allocations: 0 / 0.9548 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.794, allocations: 0 / 0.9548 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.7941, allocations: 6.422 kB / 0.9548 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.7943, allocations: 7.938 kB / 0.9548 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.418e-05/0.7943, allocations: 27.67 kB / 0.9549 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.7944, allocations: 1.406 kB / 0.9549 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.7944, allocations: 15.61 kB / 0.9549 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.7945, allocations: 14.22 kB / 0.9549 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.7945, allocations: 0 / 0.9549 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-05/0.7945, allocations: 4.312 kB / 0.9549 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.7946, allocations: 59.02 kB / 0.9549 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.7946, allocations: 41.42 kB / 0.955 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.33e-05/0.7947, allocations: 49.89 kB / 0.955 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7947, allocations: 0 / 0.955 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7947, allocations: 1.156 kB / 0.955 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.7947, allocations: 0 / 0.955 GB, free: 7.176 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002828/0.795, allocations: 407 kB / 0.9554 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.7951, allocations: 13.38 kB / 0.9554 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.271e-05/0.7951, allocations: 105.8 kB / 0.9555 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.252e-05/0.7951, allocations: 95.14 kB / 0.9556 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.7952, allocations: 259.5 kB / 0.9559 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.7953, allocations: 155.9 kB / 0.956 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.7953, allocations: 150.6 kB / 0.9562 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.68e-05/0.7954, allocations: 106.4 kB / 0.9563 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.7954, allocations: 75.28 kB / 0.9563 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.7954, allocations: 150.6 kB / 0.9565 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.7954, allocations: 155.4 kB / 0.9566 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.361e-05/0.7954, allocations: 155.6 kB / 0.9568 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.7957, allocations: 0.4956 MB / 0.9573 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.141e-05/0.7957, allocations: 166.3 kB / 0.9574 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.7957, allocations: 84.14 kB / 0.9575 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.7957, allocations: 80.41 kB / 0.9576 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.7958, allocations: 111 kB / 0.9577 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.7958, allocations: 4 kB / 0.9577 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.232e-05/0.7958, allocations: 42.02 kB / 0.9577 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.7959, allocations: 126.7 kB / 0.9578 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.7961, allocations: 231.6 kB / 0.9581 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.7961, allocations: 25.7 kB / 0.9581 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.7961, allocations: 106.3 kB / 0.9582 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.7961, allocations: 0.9062 kB / 0.9582 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.7962, allocations: 0 / 0.9582 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.616e-05/0.7962, allocations: 331.1 kB / 0.9585 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.7963, allocations: 57.39 kB / 0.9586 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.926e-05/0.7964, allocations: 54.31 kB / 0.9586 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.733e-05/0.7964, allocations: 63.95 kB / 0.9587 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7965, allocations: 0 / 0.9587 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002527/0.7967, allocations: 176.7 kB / 0.9588 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.7967, allocations: 5.812 kB / 0.9589 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7967, allocations: 0 / 0.9589 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.7968, allocations: 0 / 0.9589 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.7968, allocations: 0 / 0.9589 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.7968, allocations: 5.688 kB / 0.9589 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.914e-05/0.7968, allocations: 14.34 kB / 0.9589 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.7968, allocations: 8.641 kB / 0.9589 GB, free: 3.383 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 7.944e-05/0.7969, allocations: 201 kB / 0.9591 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.699e-05/0.797, allocations: 116.8 kB / 0.9592 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.797, allocations: 121.5 kB / 0.9593 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/0.7971, allocations: 182.2 kB / 0.9595 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/0.7971, allocations: 176.3 kB / 0.9596 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.678e-05/0.7971, allocations: 186 kB / 0.9598 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.7973, allocations: 441.1 kB / 0.9602 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.7973, allocations: 104.9 kB / 0.9603 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.394e-05/0.7973, allocations: 101 kB / 0.9604 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-05/0.7974, allocations: 182.5 kB / 0.9606 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.7974, allocations: 193.5 kB / 0.9608 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-05/0.7974, allocations: 177.6 kB / 0.961 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.217e-05/0.7975, allocations: 180.2 kB / 0.9611 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.879e-05/0.7975, allocations: 323 kB / 0.9614 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.7976, allocations: 193.6 kB / 0.9616 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.7976, allocations: 177.4 kB / 0.9618 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.331e-05/0.7977, allocations: 110.1 kB / 0.9619 GB, free: 140 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.7978, allocations: 181.3 kB / 0.9621 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/0.7978, allocations: 106.6 kB / 0.9622 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001317/0.798, allocations: 171 kB / 0.9623 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.798, allocations: 0 / 0.9623 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002441/0.7982, allocations: 21.72 kB / 0.9624 GB, free: 15.71 MB / 0.7325 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 (0): * Single equations (assignments): 0 * 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.0004488/0.7987, allocations: 0.8225 MB / 0.9632 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.7988, allocations: 87.61 kB / 0.9632 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7988, allocations: 0 / 0.9632 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.7988, allocations: 7.938 kB / 0.9633 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.7993, allocations: 0.526 MB / 0.9638 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.8006, allocations: 1.042 MB / 0.9648 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.8009, allocations: 0.7084 MB / 0.9655 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.097e-05/0.801, allocations: 9.484 kB / 0.9655 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.311e-05/0.801, allocations: 32.77 kB / 0.9655 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.801, allocations: 5.25 kB / 0.9655 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01251/0.8135, allocations: 2.492 MB / 0.968 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.8138, allocations: 207.3 kB / 0.9682 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.514, allocations: 0 / 0.9682 GB, free: 11.54 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat does not exist to compare? outputFormat=mat