Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.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.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized",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.00128/0.00128, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001633/0.001633, allocations: 177.3 kB / 15.94 MB, free: 228 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.509/1.509, allocations: 223.2 MB / 239.9 MB, free: 5.336 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.549/2.549, allocations: 390.3 MB / 0.6653 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004151, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.7732, allocations: 142.3 MB / 0.9536 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.001456/0.7747, allocations: 1.151 MB / 0.9547 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000229/0.7749, allocations: 88.62 kB / 0.9548 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.775, allocations: 1.219 kB / 0.9548 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.775, allocations: 3.938 kB / 0.9548 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.775, allocations: 9.391 kB / 0.9548 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001604/0.7752, allocations: 10.98 kB / 0.9548 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.554e-05/0.7753, allocations: 16.03 kB / 0.9548 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.615e-05/0.7754, allocations: 2.75 kB / 0.9548 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.7754, allocations: 8.219 kB / 0.9548 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.967e-05/0.7755, allocations: 10.67 kB / 0.9549 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.7755, allocations: 5.375 kB / 0.9549 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.306e-05/0.7755, allocations: 14.67 kB / 0.9549 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.093e-05/0.7756, allocations: 5.156 kB / 0.9549 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.7756, allocations: 26.83 kB / 0.9549 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.726e-05/0.7757, allocations: 21.89 kB / 0.9549 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.7757, allocations: 3.938 kB / 0.9549 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7757, allocations: 1.281 kB / 0.9549 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7757, allocations: 0 / 0.9549 GB, free: 7.168 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003689/0.7761, allocations: 343.2 kB / 0.9553 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.7761, allocations: 9.219 kB / 0.9553 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.586e-05/0.7762, allocations: 34.56 kB / 0.9553 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.7763, allocations: 18 kB / 0.9553 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/0.7764, allocations: 169.6 kB / 0.9555 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.7765, allocations: 1.188 kB / 0.9555 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.7765, allocations: 1.219 kB / 0.9555 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.7767, allocations: 71.31 kB / 0.9555 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.7767, allocations: 0 / 0.9555 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.7767, allocations: 4 kB / 0.9556 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.7767, allocations: 1.406 kB / 0.9556 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.7769, allocations: 67.17 kB / 0.9556 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003391/0.7773, allocations: 268.7 kB / 0.9559 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.7775, allocations: 64.08 kB / 0.9559 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.7775, allocations: 0 / 0.9559 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.7775, allocations: 35.62 kB / 0.956 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.7775, allocations: 0 / 0.956 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000445/0.778, allocations: 128.9 kB / 0.9561 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.778, allocations: 55.53 kB / 0.9561 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.7781, allocations: 105.3 kB / 0.9562 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.7781, allocations: 26.92 kB / 0.9563 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.7781, allocations: 85.08 kB / 0.9564 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.7782, allocations: 8.891 kB / 0.9564 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.7782, allocations: 0 / 0.9564 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.7782, allocations: 311.8 kB / 0.9567 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.7783, allocations: 36.34 kB / 0.9567 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.7785, allocations: 32.2 kB / 0.9567 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.7786, allocations: 34.94 kB / 0.9568 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7786, allocations: 1.094 kB / 0.9568 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002517/0.7788, allocations: 93.97 kB / 0.9568 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.7789, allocations: 5.312 kB / 0.9569 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7789, allocations: 0 / 0.9569 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.7789, allocations: 0 / 0.9569 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.779, allocations: 23.28 kB / 0.9569 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.779, allocations: 0 / 0.9569 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.927e-05/0.7791, allocations: 16.52 kB / 0.9569 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.7791, allocations: 4.031 kB / 0.9569 GB, free: 5.281 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 (2): * Single equations (assignments): 2 * 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 6.012e-05/0.7792, allocations: 108.3 kB / 0.957 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.7792, allocations: 5.234 kB / 0.957 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.7792, allocations: 12.69 kB / 0.957 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.7792, allocations: 0 / 0.957 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7792, allocations: 4.984 kB / 0.957 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.7793, allocations: 0 / 0.957 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.7794, allocations: 160.2 kB / 0.9572 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7794, allocations: 5.156 kB / 0.9572 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.7795, allocations: 22.58 kB / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7795, allocations: 0 / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.7795, allocations: 1.125 kB / 0.9572 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7795, allocations: 3.938 kB / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7795, allocations: 0 / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.7798, allocations: 193.3 kB / 0.9574 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/0.7798, allocations: 81.02 kB / 0.9575 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.7798, allocations: 1.125 kB / 0.9575 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.7799, allocations: 16.05 kB / 0.9575 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.78, allocations: 2.125 kB / 0.9575 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.78, allocations: 0 / 0.9575 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.647e-05/0.78, allocations: 87.73 kB / 0.9576 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.78, allocations: 1.219 kB / 0.9576 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002159/0.7803, allocations: 8.453 kB / 0.9576 GB, free: 4.574 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 (2): * Single equations (assignments): 2 * 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.0004783/0.7807, allocations: 0.7223 MB / 0.9583 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.781, allocations: 66.42 kB / 0.9583 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.781, allocations: 0 / 0.9583 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.7811, allocations: 42.22 kB / 0.9584 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.7813, allocations: 3.062 kB / 0.9584 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000453/0.7818, allocations: 159.5 kB / 0.9585 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.7819, allocations: 0.6795 MB / 0.9592 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.551e-05/0.782, allocations: 5.109 kB / 0.9592 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.782, allocations: 12.44 kB / 0.9592 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.782, allocations: 0 / 0.9592 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.7936, allocations: 1.172 MB / 0.9604 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/0.7938, allocations: 182.1 kB / 0.9605 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.503, allocations: 0 / 0.9605 GB, free: 2.172 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat