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.001563/0.001563, allocations: 98.77 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.002777/0.002777, 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 2.36/2.36, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.937/4.937, allocations: 409.2 MB / 0.6838 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005377/0.0005378, allocations: 12 kB / 0.8375 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334/1.334, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001078/1.335, allocations: 317.6 kB / 0.9812 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003682/1.336, allocations: 91.77 kB / 0.9813 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/1.336, allocations: 0 / 0.9813 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/1.336, allocations: 3.938 kB / 0.9813 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.929e-05/1.336, allocations: 0 / 0.9813 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/1.336, allocations: 11.98 kB / 0.9813 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.457e-05/1.336, allocations: 0 / 0.9813 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.671e-05/1.336, allocations: 7.984 kB / 0.9813 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/1.336, allocations: 0 / 0.9813 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/1.336, allocations: 12 kB / 0.9813 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/1.336, allocations: 0 / 0.9813 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.021e-05/1.336, allocations: 7.984 kB / 0.9813 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/1.336, allocations: 4 kB / 0.9813 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/1.337, allocations: 29.64 kB / 0.9813 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.447e-05/1.337, allocations: 15.97 kB / 0.9814 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.337, allocations: 0 / 0.9814 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.425e-06/1.337, allocations: 0 / 0.9814 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.678e-06/1.337, allocations: 0 / 0.9814 GB, free: 5.77 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.0004656/1.337, allocations: 323.4 kB / 0.9817 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/1.337, allocations: 8.031 kB / 0.9817 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.652e-05/1.337, allocations: 30.56 kB / 0.9817 GB, free: 5.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/1.338, allocations: 15.89 kB / 0.9817 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/1.338, allocations: 159.1 kB / 0.9819 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/1.338, allocations: 0 / 0.9819 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/1.338, allocations: 4 kB / 0.9819 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/1.338, allocations: 41.64 kB / 0.9819 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.338, allocations: 0 / 0.9819 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/1.338, allocations: 4 kB / 0.9819 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/1.338, allocations: 0 / 0.9819 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/1.338, allocations: 19.92 kB / 0.9819 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/1.338, allocations: 149.7 kB / 0.9821 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/1.339, allocations: 42.59 kB / 0.9821 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/1.339, allocations: 0 / 0.9821 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/1.339, allocations: 34.56 kB / 0.9822 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/1.339, allocations: 3.938 kB / 0.9822 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0003245/1.339, allocations: 61.72 kB / 0.9822 GB, free: 4.715 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/1.339, allocations: 51.41 kB / 0.9823 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.902e-05/1.339, allocations: 93.86 kB / 0.9824 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/1.339, allocations: 29.7 kB / 0.9824 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/1.339, allocations: 80.14 kB / 0.9825 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/1.339, allocations: 10.16 kB / 0.9825 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/1.339, allocations: 0 / 0.9825 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001833/1.339, allocations: 310.8 kB / 0.9828 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/1.34, allocations: 11.98 kB / 0.9828 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.434e-05/1.34, allocations: 4 kB / 0.9828 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.361e-05/1.34, allocations: 7.984 kB / 0.9828 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.34, allocations: 0 / 0.9828 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001607/1.34, allocations: 49.62 kB / 0.9828 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/1.34, allocations: 12 kB / 0.9828 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/1.34, allocations: 0 / 0.9828 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/1.34, allocations: 0 / 0.9828 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/1.341, allocations: 43.92 kB / 0.9829 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/1.342, allocations: 1.325 MB / 0.9842 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.144e-05/1.342, allocations: 0 / 0.9842 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/1.343, allocations: 7.922 kB / 0.9842 GB, free: 2.516 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 0.0001444/1.343, allocations: 113.9 kB / 0.9843 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/1.343, allocations: 0 / 0.9843 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/1.343, allocations: 7.5 kB / 0.9843 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.343, allocations: 192 / 0.9843 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.343, allocations: 7.953 kB / 0.9843 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/1.343, allocations: 0 / 0.9843 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/1.343, allocations: 161.6 kB / 0.9845 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.343, allocations: 0 / 0.9845 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/1.343, allocations: 43.94 kB / 0.9845 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/1.343, allocations: 4 kB / 0.9845 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/1.344, allocations: 0 / 0.9845 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/1.345, allocations: 1.31 MB / 0.9858 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/1.345, allocations: 3.953 kB / 0.9858 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/1.346, allocations: 81.27 kB / 0.9859 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/1.346, allocations: 81.11 kB / 0.986 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-06/1.346, allocations: 0 / 0.986 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/1.346, allocations: 0 / 0.986 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/1.346, allocations: 7.953 kB / 0.986 GB, free: 484 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/1.346, allocations: 3.984 kB / 0.986 GB, free: 480 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.03e-05/1.346, allocations: 75.28 kB / 0.986 GB, free: 404 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.346, allocations: 0 / 0.986 GB, free: 404 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000314/1.346, allocations: 7.938 kB / 0.986 GB, free: 396 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.0006873/1.347, allocations: 0.6176 MB / 0.9866 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006151/1.348, allocations: 63.86 kB / 0.9867 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/1.348, allocations: 0 / 0.9867 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003177/1.348, allocations: 35.95 kB / 0.9867 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/1.348, allocations: 4 kB / 0.9867 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/1.349, allocations: 127 kB / 0.9869 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/1.349, allocations: 0.677 MB / 0.9875 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.979e-05/1.349, allocations: 0 / 0.9875 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/1.349, allocations: 19.42 kB / 0.9875 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/1.349, allocations: 0 / 0.9875 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/1.371, allocations: 1.047 MB / 0.9886 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003241/1.371, allocations: 224.5 kB / 0.9888 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/4.056, allocations: 4 kB / 0.9888 GB, free: 13.64 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