Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,fileNamePrefix="Buildings_latest_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.000995/0.0009951, allocations: 86.41 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.0009655/0.0009654, 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.39/1.39, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.481/2.481, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004824, allocations: 15.94 kB / 0.8378 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6704/0.6709, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007706/0.6787, allocations: 6.462 MB / 0.9875 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007824/0.6865, allocations: 4.745 MB / 0.9921 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.6881, allocations: 31.81 kB / 0.9921 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004221/0.6924, allocations: 1.372 MB / 0.9935 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.6943, allocations: 0.5122 MB / 0.994 GB, free: 9.082 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.000793/0.6951, allocations: 172.1 kB / 0.9941 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002506/0.6976, allocations: 1.633 MB / 0.9957 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000907/0.6985, allocations: 0.4893 MB / 0.9962 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.6997, allocations: 0.6062 MB / 0.9968 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.7009, allocations: 0.7504 MB / 0.9975 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.7011, allocations: 60 kB / 0.9976 GB, free: 5.344 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005204/0.7016, allocations: 171.8 kB / 0.9977 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.7019, allocations: 298.7 kB / 0.998 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.7023, allocations: 352.7 kB / 0.9984 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.7037, allocations: 1.633 MB / 1 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7038, allocations: 0 / 1 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7038, allocations: 0 / 1 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.7038, allocations: 0 / 1 GB, free: 2.895 MB / 0.7481 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.002476/0.7063, allocations: 1.892 MB / 1.002 GB, free: 0.9336 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.7063, allocations: 12.03 kB / 1.002 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.635e-05/0.7064, allocations: 74.52 kB / 1.002 GB, free: 0.8398 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.7066, allocations: 201.5 kB / 1.002 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.7086, allocations: 1.467 MB / 1.004 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.7086, allocations: 25 kB / 1.004 GB, free: 15.08 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.7087, allocations: 36 kB / 1.004 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.7093, allocations: 454.3 kB / 1.004 GB, free: 14.6 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.7093, allocations: 7.922 kB / 1.004 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.7094, allocations: 15.98 kB / 1.004 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/0.7094, allocations: 20.98 kB / 1.004 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.71, allocations: 423.7 kB / 1.004 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.7126, allocations: 2.323 MB / 1.007 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008798/0.7135, allocations: 0.4928 MB / 1.007 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.7138, allocations: 202.7 kB / 1.007 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.7138, allocations: 4.281 kB / 1.007 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.7139, allocations: 38.84 kB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.7139, allocations: 4 kB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of matching and sorting (n=34): time 0.0008545/0.7147, allocations: 0.6383 MB / 1.008 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.7148, allocations: 59.34 kB / 1.008 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002981/0.7177, allocations: 2.567 MB / 1.011 GB, free: 7.598 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.7178, allocations: 33.7 kB / 1.011 GB, free: 7.559 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006823/0.7185, allocations: 0.7643 MB / 1.011 GB, free: 6.789 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.7186, allocations: 122.2 kB / 1.012 GB, free: 6.668 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.7186, allocations: 8 kB / 1.012 GB, free: 6.66 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.7187, allocations: 322 kB / 1.012 GB, free: 6.34 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.7189, allocations: 135.9 kB / 1.012 GB, free: 6.207 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.7191, allocations: 173.6 kB / 1.012 GB, free: 6.031 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.7194, allocations: 168.8 kB / 1.012 GB, free: 5.867 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7194, allocations: 0 / 1.012 GB, free: 5.867 MB / 0.7637 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006563/0.72, allocations: 0.5186 MB / 1.013 GB, free: 5.34 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.7201, allocations: 4.938 kB / 1.013 GB, free: 5.336 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.7201, allocations: 4 kB / 1.013 GB, free: 5.332 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.7201, allocations: 0 / 1.013 GB, free: 5.332 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/0.7204, allocations: 83.92 kB / 1.013 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.7204, allocations: 0 / 1.013 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.7208, allocations: 31.59 kB / 1.013 GB, free: 5.219 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.7208, allocations: 15.95 kB / 1.013 GB, free: 5.203 MB / 0.7637 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.0008165/0.7216, allocations: 0.6809 MB / 1.014 GB, free: 4.512 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.7218, allocations: 185.7 kB / 1.014 GB, free: 4.328 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003143/0.7221, allocations: 219.2 kB / 1.014 GB, free: 4.113 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.7222, allocations: 8 kB / 1.014 GB, free: 4.105 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.7222, allocations: 0 / 1.014 GB, free: 4.105 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.7222, allocations: 3.938 kB / 1.014 GB, free: 4.102 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.7242, allocations: 1.577 MB / 1.016 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7242, allocations: 0 / 1.016 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.7245, allocations: 79.89 kB / 1.016 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.7245, allocations: 0 / 1.016 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.7245, allocations: 12.09 kB / 1.016 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.7245, allocations: 0 / 1.016 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7245, allocations: 7.953 kB / 1.016 GB, free: 2.355 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006983/0.7252, allocations: 0.6386 MB / 1.016 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/0.7257, allocations: 374.5 kB / 1.017 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.7258, allocations: 12 kB / 1.017 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.7262, allocations: 11.91 kB / 1.017 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.7262, allocations: 27.92 kB / 1.017 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.7263, allocations: 4 kB / 1.017 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002163/0.7284, allocations: 1.831 MB / 1.018 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7284, allocations: 0 / 1.018 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005735/0.729, allocations: 227.8 kB / 1.019 GB, free: 15.18 MB / 0.7794 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.001203/0.7302, allocations: 1.251 MB / 1.02 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.7307, allocations: 316.6 kB / 1.02 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7307, allocations: 0 / 1.02 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.731, allocations: 175.8 kB / 1.02 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.733, allocations: 0.5858 MB / 1.021 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01999/0.753, allocations: 12.85 MB / 1.033 GB, free: 15.18 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.7544, allocations: 1.75 MB / 1.035 GB, free: 13.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0009275/0.7554, allocations: 315 kB / 1.035 GB, free: 13.09 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006812/0.7561, allocations: 0.5891 MB / 1.036 GB, free: 12.5 MB / 0.795 GB Notification: Performance of SimCode: time 1.012e-06/0.7561, allocations: 0 / 1.036 GB, free: 12.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06171/0.8178, allocations: 37.97 MB / 1.073 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/0.818, allocations: 272.9 kB / 1.073 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.251, allocations: 5.719 kB / 1.073 GB, free: 6.73 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat does not exist to compare? outputFormat=mat