Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.001318/0.001318, allocations: 86.56 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.001513/0.001513, 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.459/1.459, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.545/2.545, allocations: 409.4 MB / 0.684 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 8 kB / 0.8378 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7079/0.7083, allocations: 146.8 MB / 0.9811 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001622/0.7099, allocations: 1.237 MB / 0.9824 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001075/0.7101, allocations: 27.86 kB / 0.9824 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.7101, allocations: 4 kB / 0.9824 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.7102, allocations: 7.938 kB / 0.9824 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.7103, allocations: 11.91 kB / 0.9824 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001038/0.7104, allocations: 15.98 kB / 0.9824 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.382e-05/0.7105, allocations: 39.84 kB / 0.9825 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.7106, allocations: 27.98 kB / 0.9825 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.013e-05/0.7106, allocations: 15.94 kB / 0.9825 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.118e-05/0.7107, allocations: 15.91 kB / 0.9825 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.7107, allocations: 4 kB / 0.9825 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.7107, allocations: 0 / 0.9825 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.339e-05/0.7108, allocations: 11.94 kB / 0.9825 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.7108, allocations: 33.7 kB / 0.9826 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 7.788e-05/0.7109, allocations: 46.16 kB / 0.9826 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.7109, allocations: 8 kB / 0.9826 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7109, allocations: 0 / 0.9826 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.7109, allocations: 0 / 0.9826 GB, free: 4.879 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003706/0.7113, allocations: 355.1 kB / 0.9829 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.7114, allocations: 11.97 kB / 0.983 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.054e-05/0.7114, allocations: 34.56 kB / 0.983 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.103e-05/0.7114, allocations: 7.906 kB / 0.983 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.7116, allocations: 186.9 kB / 0.9832 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.7116, allocations: 0 / 0.9832 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.7116, allocations: 15.95 kB / 0.9832 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.7118, allocations: 97.22 kB / 0.9833 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7118, allocations: 3.938 kB / 0.9833 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.7118, allocations: 0 / 0.9833 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.7118, allocations: 4 kB / 0.9833 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.919e-05/0.7119, allocations: 43.95 kB / 0.9833 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.7125, allocations: 0.644 MB / 0.984 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/0.7126, allocations: 173.1 kB / 0.9841 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.619e-05/0.7126, allocations: 84.14 kB / 0.9842 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.7126, allocations: 75.31 kB / 0.9843 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.7127, allocations: 109.8 kB / 0.9844 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.7127, allocations: 0 / 0.9844 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.703e-05/0.7128, allocations: 41.5 kB / 0.9844 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.7128, allocations: 130.7 kB / 0.9846 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.713, allocations: 168.7 kB / 0.9847 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.713, allocations: 29.7 kB / 0.9847 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.7131, allocations: 99.98 kB / 0.9848 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.7131, allocations: 0 / 0.9848 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.7131, allocations: 4 kB / 0.9848 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.7132, allocations: 318.8 kB / 0.9851 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.7132, allocations: 8 kB / 0.9852 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.7132, allocations: 22.56 kB / 0.9852 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.7133, allocations: 12 kB / 0.9852 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7133, allocations: 0 / 0.9852 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001143/0.7134, allocations: 57.48 kB / 0.9852 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.7134, allocations: 5.562 kB / 0.9852 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.7134, allocations: 0 / 0.9852 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.7134, allocations: 7.953 kB / 0.9853 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.7135, allocations: 7.984 kB / 0.9853 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7135, allocations: 4.031 kB / 0.9853 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.7136, allocations: 11.91 kB / 0.9853 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.7136, allocations: 4 kB / 0.9853 GB, free: 1.883 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 3 * 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 9.298e-05/0.7137, allocations: 189.1 kB / 0.9855 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.7137, allocations: 112.9 kB / 0.9856 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.7138, allocations: 116.8 kB / 0.9857 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-05/0.7139, allocations: 184.2 kB / 0.9859 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-05/0.7139, allocations: 180.3 kB / 0.986 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.221e-05/0.714, allocations: 188.1 kB / 0.9862 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.7142, allocations: 417.2 kB / 0.9866 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.873e-05/0.7143, allocations: 108.9 kB / 0.9867 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.7143, allocations: 109 kB / 0.9868 GB, free: 204 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.792e-05/0.7144, allocations: 180.3 kB / 0.987 GB, free: 16 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/0.7145, allocations: 180.2 kB / 0.9872 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.344e-05/0.7145, allocations: 180.3 kB / 0.9873 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.678e-05/0.7146, allocations: 184.2 kB / 0.9875 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.7147, allocations: 324 kB / 0.9878 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.15e-05/0.7148, allocations: 185.9 kB / 0.988 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.7149, allocations: 180.2 kB / 0.9882 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.715, allocations: 112.9 kB / 0.9883 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.715, allocations: 176.3 kB / 0.9884 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.7151, allocations: 104.9 kB / 0.9885 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.281e-05/0.7152, allocations: 140.7 kB / 0.9887 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7152, allocations: 0 / 0.9887 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002161/0.7154, allocations: 4 kB / 0.9887 GB, free: 14.18 MB / 0.7481 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 (0): * Single equations (assignments): 0 * 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.0003908/0.7158, allocations: 0.8087 MB / 0.9895 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.254e-05/0.7159, allocations: 15.94 kB / 0.9895 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7159, allocations: 0 / 0.9895 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.7159, allocations: 0 / 0.9895 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.7163, allocations: 0.5224 MB / 0.99 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008555/0.7172, allocations: 0.6376 MB / 0.9906 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.7174, allocations: 0.6926 MB / 0.9913 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.069e-05/0.7175, allocations: 7.984 kB / 0.9913 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.7175, allocations: 15.44 kB / 0.9913 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.7175, allocations: 0 / 0.9913 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.7286, allocations: 1.474 MB / 0.9927 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.7288, allocations: 196.1 kB / 0.9929 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.396, allocations: 4.062 kB / 0.9929 GB, free: 9.812 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat does not exist to compare? outputFormat=mat