Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",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.0008064/0.0008065, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008108/0.000811, allocations: 172.7 kB / 15.95 MB, free: 208 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.392/1.392, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.4 MB / 0.6655 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003463, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6806/0.681, allocations: 142.3 MB / 0.9538 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006878/0.6879, allocations: 6.461 MB / 0.9602 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007709/0.6956, allocations: 4.741 MB / 0.9648 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.6976, allocations: 32.69 kB / 0.9648 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005033/0.7026, allocations: 1.365 MB / 0.9662 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.705, allocations: 0.5244 MB / 0.9667 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.7062, allocations: 172.7 kB / 0.9668 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003176/0.7094, allocations: 1.631 MB / 0.9684 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001184/0.7106, allocations: 0.4972 MB / 0.9689 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.7121, allocations: 0.6058 MB / 0.9695 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.7137, allocations: 0.7514 MB / 0.9702 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003818/0.7141, allocations: 63.06 kB / 0.9703 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009303/0.715, allocations: 161.4 kB / 0.9704 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.7155, allocations: 294.1 kB / 0.9707 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000657/0.7161, allocations: 354.4 kB / 0.9711 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.7183, allocations: 1.632 MB / 0.9727 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.7183, allocations: 1.469 kB / 0.9727 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7183, allocations: 0 / 0.9727 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.917e-05/0.7184, allocations: 0 / 0.9727 GB, free: 10.19 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.004037/0.7224, allocations: 1.896 MB / 0.9745 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.211e-05/0.7225, allocations: 9.562 kB / 0.9745 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.7227, allocations: 77.12 kB / 0.9746 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006569/0.7233, allocations: 206.5 kB / 0.9748 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00368/0.727, allocations: 1.464 MB / 0.9762 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.7271, allocations: 32.31 kB / 0.9763 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.7271, allocations: 36.67 kB / 0.9763 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.7279, allocations: 442 kB / 0.9767 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.728, allocations: 0 / 0.9767 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.728, allocations: 15.84 kB / 0.9767 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.387e-05/0.7281, allocations: 25.75 kB / 0.9767 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.7287, allocations: 423.4 kB / 0.9772 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.7321, allocations: 2.328 MB / 0.9794 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009387/0.7331, allocations: 0.4951 MB / 0.9799 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.7334, allocations: 205.3 kB / 0.9801 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.7334, allocations: 4.281 kB / 0.9801 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.7334, allocations: 42.81 kB / 0.9802 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 2.264e-06/0.7334, allocations: 0 / 0.9802 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.001063/0.7345, allocations: 0.6375 MB / 0.9808 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.7345, allocations: 55.41 kB / 0.9808 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003315/0.7379, allocations: 2.563 MB / 0.9833 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.7379, allocations: 33.7 kB / 0.9834 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007267/0.7387, allocations: 0.7722 MB / 0.9841 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.7388, allocations: 110.3 kB / 0.9842 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.643e-05/0.7388, allocations: 8 kB / 0.9842 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.7389, allocations: 321.9 kB / 0.9845 GB, free: 196 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.7391, allocations: 135.9 kB / 0.9847 GB, free: 60 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.7394, allocations: 182.5 kB / 0.9848 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.7396, allocations: 163.9 kB / 0.985 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7396, allocations: 0 / 0.985 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007388/0.7404, allocations: 0.5224 MB / 0.9855 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.7404, allocations: 13.19 kB / 0.9855 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7404, allocations: 0 / 0.9855 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7404, allocations: 0 / 0.9855 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.7408, allocations: 79.89 kB / 0.9856 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.7408, allocations: 4 kB / 0.9856 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.7414, allocations: 31.59 kB / 0.9856 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.7414, allocations: 7.984 kB / 0.9856 GB, free: 15.05 MB / 0.7481 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 (36): * Single equations (assignments): 36 * 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.0008514/0.7422, allocations: 0.6965 MB / 0.9863 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.7425, allocations: 181.7 kB / 0.9865 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.7428, allocations: 219.2 kB / 0.9867 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.7428, allocations: 0 / 0.9867 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.7428, allocations: 4 kB / 0.9867 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.7428, allocations: 3.984 kB / 0.9867 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.7448, allocations: 1.578 MB / 0.9882 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7448, allocations: 0 / 0.9882 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.7451, allocations: 79.89 kB / 0.9883 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.7451, allocations: 4 kB / 0.9883 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.7452, allocations: 4 kB / 0.9883 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.7452, allocations: 8 kB / 0.9883 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7452, allocations: 0 / 0.9883 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.7459, allocations: 0.6386 MB / 0.989 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004923/0.7464, allocations: 378.5 kB / 0.9893 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.7465, allocations: 4 kB / 0.9893 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/0.7469, allocations: 15.89 kB / 0.9893 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.747, allocations: 23.95 kB / 0.9894 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.747, allocations: 12 kB / 0.9894 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002275/0.7493, allocations: 1.827 MB / 0.9912 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7493, allocations: 0 / 0.9912 GB, free: 9.242 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006608/0.7499, allocations: 231.8 kB / 0.9914 GB, free: 9.016 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * 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.001232/0.7512, allocations: 1.256 MB / 0.9926 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004977/0.7517, allocations: 320.8 kB / 0.9929 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7517, allocations: 0 / 0.9929 GB, free: 7.418 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.7519, allocations: 171.8 kB / 0.9931 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.754, allocations: 0.5743 MB / 0.9936 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/0.7747, allocations: 12.86 MB / 1.006 GB, free: 9.027 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.776, allocations: 1.754 MB / 1.008 GB, free: 7.238 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0009527/0.7769, allocations: 311.1 kB / 1.008 GB, free: 6.93 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007218/0.7777, allocations: 0.593 MB / 1.009 GB, free: 6.336 MB / 0.7637 GB Notification: Performance of SimCode: time 1.062e-06/0.7777, allocations: 3.938 kB / 1.009 GB, free: 6.332 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05956/0.8373, allocations: 37.96 MB / 1.046 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.8375, allocations: 268.3 kB / 1.046 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.434, allocations: 0 / 1.046 GB, free: 0.5742 MB / 0.795 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat does not exist to compare? outputFormat=mat