Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_latest_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.001451/0.00145, 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.001872/0.001872, 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.34/2.34, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.32/4.32, allocations: 409.2 MB / 0.6838 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005629/0.000563, allocations: 8 kB / 0.8375 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277/1.278, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002743/1.28, allocations: 1.157 MB / 0.982 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003998/1.281, allocations: 91.06 kB / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/1.281, allocations: 0 / 0.9821 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/1.281, allocations: 3.938 kB / 0.9821 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.498e-05/1.281, allocations: 3.984 kB / 0.9821 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/1.281, allocations: 15.98 kB / 0.9821 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.449e-05/1.281, allocations: 11.98 kB / 0.9821 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/1.282, allocations: 8 kB / 0.9821 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.52e-05/1.282, allocations: 11.92 kB / 0.9821 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.407e-05/1.282, allocations: 11.98 kB / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/1.282, allocations: 0 / 0.9821 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.97e-05/1.282, allocations: 11.98 kB / 0.9822 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/1.282, allocations: 7.938 kB / 0.9822 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/1.282, allocations: 25.7 kB / 0.9822 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/1.282, allocations: 19.97 kB / 0.9822 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/1.282, allocations: 4 kB / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.487e-06/1.282, allocations: 0 / 0.9822 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.057e-06/1.282, allocations: 0 / 0.9822 GB, free: 4.914 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.0006684/1.283, allocations: 345.5 kB / 0.9825 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/1.283, allocations: 8.031 kB / 0.9825 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/1.283, allocations: 30.56 kB / 0.9826 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/1.283, allocations: 27.88 kB / 0.9826 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/1.283, allocations: 171 kB / 0.9828 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/1.283, allocations: 0 / 0.9828 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/1.284, allocations: 4 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/1.284, allocations: 65.56 kB / 0.9828 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.284, allocations: 3.984 kB / 0.9828 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/1.284, allocations: 7.984 kB / 0.9828 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/1.284, allocations: 0 / 0.9828 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/1.284, allocations: 59.95 kB / 0.9829 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/1.285, allocations: 265 kB / 0.9832 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/1.285, allocations: 66.5 kB / 0.9832 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/1.285, allocations: 4 kB / 0.9832 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.285, allocations: 34.5 kB / 0.9833 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.864e-06/1.285, allocations: 0 / 0.9833 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0007356/1.286, allocations: 125.7 kB / 0.9834 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/1.286, allocations: 51.41 kB / 0.9834 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/1.286, allocations: 105.8 kB / 0.9835 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/1.286, allocations: 25.7 kB / 0.9835 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/1.287, allocations: 84.27 kB / 0.9836 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/1.287, allocations: 7.906 kB / 0.9836 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/1.287, allocations: 0 / 0.9836 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.287, allocations: 322.8 kB / 0.9839 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/1.287, allocations: 27.98 kB / 0.984 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/1.287, allocations: 39.91 kB / 0.984 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/1.287, allocations: 27.98 kB / 0.984 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.287, allocations: 0 / 0.984 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004257/1.288, allocations: 101.6 kB / 0.9841 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.288, allocations: 5.719 kB / 0.9841 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.288, allocations: 0 / 0.9841 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/1.288, allocations: 0 / 0.9841 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/1.288, allocations: 24.27 kB / 0.9842 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.288, allocations: 0 / 0.9842 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/1.288, allocations: 19.92 kB / 0.9842 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/1.288, allocations: 0 / 0.9842 GB, free: 2.672 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 (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 0.0001304/1.288, allocations: 109.8 kB / 0.9843 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/1.288, allocations: 3.953 kB / 0.9843 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/1.289, allocations: 11.53 kB / 0.9843 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.289, allocations: 4 kB / 0.9843 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.289, allocations: 0 / 0.9843 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/1.289, allocations: 0 / 0.9843 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/1.289, allocations: 161.6 kB / 0.9845 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.289, allocations: 0 / 0.9845 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/1.289, allocations: 19.92 kB / 0.9845 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.289, allocations: 0 / 0.9845 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/1.289, allocations: 3.953 kB / 0.9845 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/1.289, allocations: 8 kB / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.289, allocations: 0 / 0.9845 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/1.29, allocations: 187.5 kB / 0.9847 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/1.29, allocations: 85 kB / 0.9847 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/1.29, allocations: 0 / 0.9847 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/1.29, allocations: 15.94 kB / 0.9848 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/1.29, allocations: 4 kB / 0.9848 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/1.29, allocations: 0 / 0.9848 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.625e-05/1.29, allocations: 83.31 kB / 0.9848 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/1.29, allocations: 4 kB / 0.9848 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003932/1.291, allocations: 4 kB / 0.9849 GB, free: 1.887 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 (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.0009031/1.291, allocations: 0.7202 MB / 0.9856 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004384/1.292, allocations: 67.97 kB / 0.9856 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.292, allocations: 0 / 0.9856 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000176/1.292, allocations: 35.92 kB / 0.9857 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/1.292, allocations: 9.391 kB / 0.9857 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007157/1.293, allocations: 174.2 kB / 0.9858 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/1.294, allocations: 0.677 MB / 0.9865 GB, free: 120 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.385e-05/1.294, allocations: 8 kB / 0.9865 GB, free: 112 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.855e-05/1.294, allocations: 7.438 kB / 0.9865 GB, free: 104 kB / 0.7325 GB Notification: Performance of SimCode: time 6.22e-07/1.294, allocations: 0 / 0.9865 GB, free: 104 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/1.313, allocations: 1.164 MB / 0.9876 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003482/1.314, allocations: 185.6 kB / 0.9878 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/4.112, allocations: 0 / 0.9878 GB, free: 14.82 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_PowerLinearized.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.PowerLinearized_res.mat does not exist to compare? outputFormat=mat