Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.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.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example8",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.0007809/0.0007809, 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.0009102/0.0009104, 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.36/1.36, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.527/2.527, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004346, allocations: 19.98 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8192, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0007172/0.82, allocations: 248.8 kB / 0.9814 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001236/0.8201, allocations: 23.86 kB / 0.9814 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.8202, allocations: 4 kB / 0.9814 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.071e-05/0.8202, allocations: 0 / 0.9814 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.8203, allocations: 4 kB / 0.9814 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.947e-06/0.8204, allocations: 3.938 kB / 0.9814 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.37e-05/0.8204, allocations: 3.984 kB / 0.9814 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.8205, allocations: 0 / 0.9814 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.328e-05/0.8205, allocations: 4 kB / 0.9814 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.311e-05/0.8205, allocations: 3.938 kB / 0.9814 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.8206, allocations: 0 / 0.9814 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.097e-06/0.8206, allocations: 0 / 0.9814 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.8206, allocations: 7.922 kB / 0.9814 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.8206, allocations: 33.7 kB / 0.9815 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 3.081e-05/0.8207, allocations: 0 / 0.9815 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8207, allocations: 0 / 0.9815 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8207, allocations: 0 / 0.9815 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.8207, allocations: 0 / 0.9815 GB, free: 5.91 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002707/0.821, allocations: 319.3 kB / 0.9818 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.821, allocations: 8.031 kB / 0.9818 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.8211, allocations: 30.56 kB / 0.9818 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.88e-05/0.8211, allocations: 0 / 0.9818 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.8212, allocations: 167.1 kB / 0.982 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.8212, allocations: 0 / 0.982 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.8212, allocations: 0 / 0.982 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.8213, allocations: 51.3 kB / 0.982 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.8214, allocations: 0 / 0.982 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.8214, allocations: 4 kB / 0.982 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.8214, allocations: 0 / 0.982 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.193e-05/0.8214, allocations: 4 kB / 0.982 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.8216, allocations: 154.5 kB / 0.9822 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.569e-05/0.8216, allocations: 41.14 kB / 0.9822 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.8216, allocations: 13.84 kB / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.8217, allocations: 0 / 0.9822 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.8217, allocations: 38.56 kB / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.8217, allocations: 0 / 0.9822 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001383/0.8219, allocations: 49.58 kB / 0.9823 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.8219, allocations: 81.05 kB / 0.9824 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.336e-05/0.822, allocations: 93.86 kB / 0.9825 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.822, allocations: 25.7 kB / 0.9825 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.657e-05/0.822, allocations: 84.14 kB / 0.9826 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.8221, allocations: 6.531 kB / 0.9826 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.8221, allocations: 4 kB / 0.9826 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.8222, allocations: 314.8 kB / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.8222, allocations: 0 / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.626e-05/0.8222, allocations: 17.7 kB / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.926e-05/0.8222, allocations: 8 kB / 0.9829 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.8222, allocations: 0 / 0.9829 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.612e-05/0.8223, allocations: 45.64 kB / 0.9829 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.8223, allocations: 4 kB / 0.9829 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.8223, allocations: 0 / 0.9829 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.8224, allocations: 11.94 kB / 0.983 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.8224, allocations: 0 / 0.983 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.8224, allocations: 4 kB / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.587e-05/0.8225, allocations: 0 / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.8225, allocations: 0 / 0.983 GB, free: 4.105 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 7.517e-05/0.8226, allocations: 113.8 kB / 0.9831 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.8226, allocations: 8.047 kB / 0.9831 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.8227, allocations: 52.75 kB / 0.9831 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.8227, allocations: 0 / 0.9831 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8227, allocations: 3.953 kB / 0.9831 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.8227, allocations: 4 kB / 0.9831 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.853e-05/0.8228, allocations: 145.7 kB / 0.9833 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.8228, allocations: 0 / 0.9833 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.8228, allocations: 4 kB / 0.9833 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8228, allocations: 4.062 kB / 0.9833 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.8229, allocations: 4 kB / 0.9833 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8229, allocations: 0 / 0.9833 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8229, allocations: 3.938 kB / 0.9833 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.39e-05/0.8229, allocations: 69.94 kB / 0.9834 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.823, allocations: 89.02 kB / 0.9834 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.823, allocations: 0 / 0.9834 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.8231, allocations: 8.016 kB / 0.9835 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.8231, allocations: 0 / 0.9835 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.8231, allocations: 7.953 kB / 0.9835 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 2.739e-05/0.8231, allocations: 75.28 kB / 0.9835 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8231, allocations: 0 / 0.9835 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001836/0.8233, allocations: 0 / 0.9835 GB, free: 3.422 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0003298/0.8236, allocations: 0.6055 MB / 0.9841 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.508e-05/0.8237, allocations: 12 kB / 0.9841 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8237, allocations: 0 / 0.9841 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.8237, allocations: 7.938 kB / 0.9841 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.8239, allocations: 5.766 kB / 0.9841 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.8242, allocations: 135.2 kB / 0.9843 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.8245, allocations: 0.6731 MB / 0.9849 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.955e-05/0.8245, allocations: 3.984 kB / 0.9849 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.8245, allocations: 11.44 kB / 0.9849 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8245, allocations: 0 / 0.9849 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.8349, allocations: 0.7408 MB / 0.9857 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.8352, allocations: 187.2 kB / 0.9858 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.573, allocations: 4 kB / 0.9859 GB, free: 1.004 MB / 0.7325 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Examples.Performance.Example8_res.mat does not exist to compare? outputFormat=mat