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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 86.72 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.001253/0.001253, 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.385/1.385, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.475/2.475, allocations: 409.4 MB / 0.684 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000333/0.0003331, allocations: 8 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6634, allocations: 146.8 MB / 0.9812 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006761/0.6641, allocations: 313.6 kB / 0.9815 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002586/0.6644, allocations: 83.84 kB / 0.9815 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.103e-05/0.6644, allocations: 0 / 0.9815 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.6644, allocations: 3.938 kB / 0.9815 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.6645, allocations: 4 kB / 0.9815 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.6647, allocations: 15.98 kB / 0.9816 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.226e-05/0.6647, allocations: 0 / 0.9816 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.6648, allocations: 7.984 kB / 0.9816 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.766e-05/0.6648, allocations: 7.922 kB / 0.9816 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.6648, allocations: 4 kB / 0.9816 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.6649, allocations: 0 / 0.9816 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.809e-05/0.6649, allocations: 19.98 kB / 0.9816 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.6649, allocations: 3.938 kB / 0.9816 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.665, allocations: 25.7 kB / 0.9816 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.809e-05/0.6651, allocations: 7.984 kB / 0.9816 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.6651, allocations: 4 kB / 0.9816 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6651, allocations: 0 / 0.9816 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.6651, allocations: 0 / 0.9816 GB, free: 5.754 MB / 0.7325 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.0003379/0.6654, allocations: 319.4 kB / 0.9819 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.6655, allocations: 8.031 kB / 0.9819 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.6655, allocations: 34.56 kB / 0.982 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.6657, allocations: 11.89 kB / 0.982 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.677e-05/0.6658, allocations: 159.1 kB / 0.9821 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.6658, allocations: 4 kB / 0.9821 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.6658, allocations: 0 / 0.9821 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.6659, allocations: 45.64 kB / 0.9822 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.666, allocations: 0 / 0.9822 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.666, allocations: 3.938 kB / 0.9822 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.666, allocations: 0 / 0.9822 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.6661, allocations: 15.98 kB / 0.9822 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.6662, allocations: 153.7 kB / 0.9824 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.6664, allocations: 42.59 kB / 0.9824 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.6664, allocations: 8.922 kB / 0.9824 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.6665, allocations: 0 / 0.9824 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.6665, allocations: 34.56 kB / 0.9824 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.6665, allocations: 0 / 0.9824 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0002166/0.6667, allocations: 69.75 kB / 0.9825 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.6668, allocations: 51.41 kB / 0.9826 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.445e-05/0.6668, allocations: 89.86 kB / 0.9826 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.6668, allocations: 25.7 kB / 0.9827 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.6668, allocations: 80.14 kB / 0.9827 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.6669, allocations: 6.156 kB / 0.9827 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.6669, allocations: 4 kB / 0.9827 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.667, allocations: 318.8 kB / 0.9831 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.667, allocations: 8 kB / 0.9831 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.6671, allocations: 11.97 kB / 0.9831 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.065e-05/0.6671, allocations: 8 kB / 0.9831 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6671, allocations: 0 / 0.9831 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001027/0.6672, allocations: 49.62 kB / 0.9831 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6673, allocations: 9.703 kB / 0.9831 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.6673, allocations: 3.938 kB / 0.9831 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.6673, allocations: 0 / 0.9831 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.6676, allocations: 47.89 kB / 0.9832 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.6688, allocations: 1.317 MB / 0.9845 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.648e-05/0.6688, allocations: 0 / 0.9845 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.6688, allocations: 8.141 kB / 0.9845 GB, free: 2.484 MB / 0.7325 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): 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.52e-05/0.6689, allocations: 113.8 kB / 0.9846 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.735e-06/0.6689, allocations: 0 / 0.9846 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.516e-05/0.669, allocations: 3.5 kB / 0.9846 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.669, allocations: 3.953 kB / 0.9846 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.669, allocations: 0 / 0.9846 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.669, allocations: 0 / 0.9846 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.891e-05/0.6691, allocations: 161.6 kB / 0.9847 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.6691, allocations: 0 / 0.9847 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.6694, allocations: 51.92 kB / 0.9848 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.6694, allocations: 0 / 0.9848 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.6694, allocations: 0 / 0.9848 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.6704, allocations: 1.318 MB / 0.9861 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6705, allocations: 0 / 0.9861 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.6706, allocations: 73.11 kB / 0.9862 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.6706, allocations: 81.05 kB / 0.9862 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-06/0.6706, allocations: 0 / 0.9862 GB, free: 468 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.908e-05/0.6707, allocations: 8 kB / 0.9862 GB, free: 460 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.6707, allocations: 8.016 kB / 0.9862 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.6707, allocations: 0 / 0.9862 GB, free: 452 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.338e-05/0.6707, allocations: 75.28 kB / 0.9863 GB, free: 376 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6707, allocations: 0 / 0.9863 GB, free: 376 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001947/0.6709, allocations: 4 kB / 0.9863 GB, free: 372 kB / 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 (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.0003794/0.6713, allocations: 0.6124 MB / 0.9869 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003883/0.6717, allocations: 63.84 kB / 0.987 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.6717, allocations: 0 / 0.987 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.672, allocations: 43.95 kB / 0.987 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.6721, allocations: 9.438 kB / 0.987 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.6725, allocations: 120.6 kB / 0.9871 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.6728, allocations: 0.677 MB / 0.9878 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.6728, allocations: 4 kB / 0.9878 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.6729, allocations: 15.38 kB / 0.9878 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.6729, allocations: 0 / 0.9878 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.6844, allocations: 1.075 MB / 0.9889 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.6847, allocations: 232 kB / 0.9891 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.404, allocations: 0 / 0.9891 GB, free: 13.61 MB / 0.7481 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) Environment - environmentSimulation: 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