Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.016/2.016, allocations: 390.3 MB / 402.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.3 MB / 0.7915 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008447/0.000845, allocations: 83.97 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.968e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2007, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6591/0.8599, allocations: 149.3 MB / 1.365 GB, free: 4.719 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.8601, allocations: 75.58 kB / 1.365 GB, free: 4.676 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002208/0.8623, allocations: 0.9573 MB / 1.366 GB, free: 3.84 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8623, allocations: 0 / 1.366 GB, free: 3.84 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.8624, allocations: 0.6562 kB / 1.366 GB, free: 3.84 MB / 0.823 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.0002476/0.8626, allocations: 314.2 kB / 1.366 GB, free: 3.492 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.8627, allocations: 16.03 kB / 1.366 GB, free: 3.477 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.8627, allocations: 38.48 kB / 1.366 GB, free: 3.43 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.8628, allocations: 7.984 kB / 1.366 GB, free: 3.422 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.596e-05/0.8629, allocations: 163 kB / 1.366 GB, free: 3.223 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.8629, allocations: 3.562 kB / 1.366 GB, free: 3.223 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.863, allocations: 4 kB / 1.366 GB, free: 3.219 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/0.863, allocations: 33.69 kB / 1.366 GB, free: 3.18 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.8631, allocations: 3.984 kB / 1.366 GB, free: 3.176 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.8631, allocations: 0 / 1.366 GB, free: 3.176 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.8631, allocations: 4 kB / 1.366 GB, free: 3.172 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.401e-05/0.8631, allocations: 7.188 kB / 1.366 GB, free: 3.168 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.8633, allocations: 160.8 kB / 1.366 GB, free: 2.965 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.8634, allocations: 36.45 kB / 1.366 GB, free: 2.926 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.8634, allocations: 9.062 kB / 1.366 GB, free: 2.914 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.8634, allocations: 3.984 kB / 1.366 GB, free: 2.91 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.8634, allocations: 41.88 kB / 1.366 GB, free: 2.863 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.8635, allocations: 4 kB / 1.366 GB, free: 2.859 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001212/0.8636, allocations: 41.08 kB / 1.367 GB, free: 2.816 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.8636, allocations: 55.39 kB / 1.367 GB, free: 2.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.757e-05/0.8636, allocations: 85 kB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.8637, allocations: 25.7 kB / 1.367 GB, free: 2.629 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.8637, allocations: 80.14 kB / 1.367 GB, free: 2.547 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.8637, allocations: 12.59 kB / 1.367 GB, free: 2.535 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.8637, allocations: 0 / 1.367 GB, free: 2.535 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.8638, allocations: 321.8 kB / 1.367 GB, free: 2.215 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.8639, allocations: 4 kB / 1.367 GB, free: 2.211 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.8639, allocations: 4 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.257e-05/0.8639, allocations: 7.109 kB / 1.367 GB, free: 2.203 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8639, allocations: 0 / 1.367 GB, free: 2.203 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.288e-05/0.864, allocations: 41.2 kB / 1.367 GB, free: 2.16 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.864, allocations: 5.562 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.864, allocations: 7.984 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.864, allocations: 0 / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.8644, allocations: 47.81 kB / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009492/0.8653, allocations: 1.283 MB / 1.368 GB, free: 0.707 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.8654, allocations: 4.094 kB / 1.368 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.8654, allocations: 1.25 kB / 1.368 GB, free: 0.7031 MB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.991e-05/0.8655, allocations: 113.6 kB / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.8655, allocations: 8.109 kB / 1.369 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.035e-05/0.8655, allocations: 6.938 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.8655, allocations: 0 / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.8655, allocations: 0 / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.8655, allocations: 0 / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.11e-05/0.8656, allocations: 157.2 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8656, allocations: 0 / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.866, allocations: 51.92 kB / 1.369 GB, free: 328 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.866, allocations: 0 / 1.369 GB, free: 328 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.866, allocations: 0.875 kB / 1.369 GB, free: 328 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008491/0.8669, allocations: 1.292 MB / 1.37 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.8669, allocations: 0 / 1.37 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.346e-05/0.867, allocations: 68.8 kB / 1.37 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.867, allocations: 77.11 kB / 1.37 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-06/0.867, allocations: 8.094 kB / 1.37 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.713e-05/0.867, allocations: 0 / 1.37 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.8671, allocations: 3.984 kB / 1.37 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.8671, allocations: 4 kB / 1.37 GB, free: 14.72 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.227e-05/0.8671, allocations: 78.84 kB / 1.37 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8671, allocations: 3.938 kB / 1.37 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001625/0.8673, allocations: 4 kB / 1.37 GB, free: 14.64 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003328/0.8676, allocations: 0.6076 MB / 1.371 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003349/0.868, allocations: 43.94 kB / 1.371 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.868, allocations: 0 / 1.371 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.8681, allocations: 42.7 kB / 1.371 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.575e-05/0.8682, allocations: 0 / 1.371 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002308/0.8685, allocations: 90.77 kB / 1.371 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.8687, allocations: 0.677 MB / 1.372 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.56e-05/0.8687, allocations: 11.98 kB / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.8688, allocations: 7.438 kB / 1.372 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of SimCode: time 3e-07/0.8688, allocations: 0 / 1.372 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01173/0.8805, allocations: 1.063 MB / 1.373 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.8807, allocations: 194.5 kB / 1.373 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/2.413, allocations: 0 / 1.373 GB, free: 11.98 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat