Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.InfraredRadiationExchange,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",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.001049/0.001049, allocations: 91.69 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.00129/0.00129, 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.462/1.462, allocations: 223.3 MB / 240 MB, free: 5.348 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.393/2.393, allocations: 390.4 MB / 0.6655 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6439/0.6443, allocations: 142.3 MB / 0.9539 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005595/0.6499, allocations: 6.356 MB / 0.9601 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00687/0.6568, allocations: 5.075 MB / 0.965 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/0.6583, allocations: 41.34 kB / 0.9651 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.005031/0.6634, allocations: 1.368 MB / 0.9664 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.6662, allocations: 0.5448 MB / 0.9669 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.6678, allocations: 310.7 kB / 0.9672 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00444/0.6722, allocations: 2.633 MB / 0.9698 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.6733, allocations: 0.4896 MB / 0.9703 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.6755, allocations: 0.9816 MB / 0.9712 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.6781, allocations: 1.54 MB / 0.9727 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0009874/0.6792, allocations: 120.6 kB / 0.9729 GB, free: 10.47 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001479/0.6806, allocations: 221.2 kB / 0.9731 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.6817, allocations: 0.6134 MB / 0.9737 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009943/0.6827, allocations: 447.9 kB / 0.9741 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.6855, allocations: 2.558 MB / 0.9766 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6856, allocations: 1.344 kB / 0.9766 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6856, allocations: 0 / 0.9766 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.00012/0.6857, allocations: 0 / 0.9766 GB, free: 8.109 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.007806/0.6935, allocations: 3.555 MB / 0.9801 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6936, allocations: 8.031 kB / 0.9801 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.6937, allocations: 86.53 kB / 0.9802 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000488/0.6942, allocations: 245 kB / 0.9804 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.6971, allocations: 1.786 MB / 0.9821 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.6972, allocations: 65 kB / 0.9822 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.6974, allocations: 91.95 kB / 0.9823 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.6985, allocations: 0.7052 MB / 0.983 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.6985, allocations: 0 / 0.983 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.6986, allocations: 24 kB / 0.983 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.6986, allocations: 12 kB / 0.983 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.7, allocations: 0.9796 MB / 0.984 GB, free: 1.184 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009677/0.7097, allocations: 5.092 MB / 0.9889 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.7109, allocations: 0.7853 MB / 0.9897 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.7116, allocations: 0.4966 MB / 0.9902 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.7116, allocations: 4 kB / 0.9902 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.7117, allocations: 39.28 kB / 0.9902 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 2.084e-06/0.7117, allocations: 0 / 0.9902 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.009461/0.7211, allocations: 3.567 MB / 0.9937 GB, free: 7.004 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.7212, allocations: 55.41 kB / 0.9938 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/0.7255, allocations: 2.952 MB / 0.9966 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005954/0.7261, allocations: 49.7 kB / 0.9967 GB, free: 3.918 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009675/0.7271, allocations: 0.8553 MB / 0.9975 GB, free: 3.055 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.7273, allocations: 165.7 kB / 0.9977 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.7274, allocations: 28 kB / 0.9977 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.7276, allocations: 357.9 kB / 0.9981 GB, free: 2.508 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.7296, allocations: 1.37 MB / 0.9994 GB, free: 1.137 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/0.7318, allocations: 1.612 MB / 1.001 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/0.7338, allocations: 1.467 MB / 1.002 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/0.7339, allocations: 0 / 1.002 GB, free: 14.05 MB / 0.7637 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006893/0.7408, allocations: 4.074 MB / 1.006 GB, free: 9.957 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.7408, allocations: 5.25 kB / 1.006 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.7408, allocations: 0 / 1.006 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/0.7437, allocations: 1.112 MB / 1.007 GB, free: 8.836 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.7449, allocations: 223.7 kB / 1.008 GB, free: 8.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.7554, allocations: 7.351 MB / 1.015 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.7576, allocations: 262 kB / 1.015 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.7578, allocations: 44 kB / 1.015 GB, free: 0.8203 MB / 0.7637 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 (126): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,46.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001372/0.7592, allocations: 0.8017 MB / 1.016 GB, free: 8 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003829/0.7596, allocations: 213.4 kB / 1.016 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.7601, allocations: 258.7 kB / 1.016 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.7601, allocations: 4 kB / 1.016 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.079e-05/0.7602, allocations: 12 kB / 1.016 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7602, allocations: 0 / 1.016 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.7617, allocations: 1.24 MB / 1.018 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7617, allocations: 0 / 1.018 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.7618, allocations: 4 kB / 1.018 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002587/0.7644, allocations: 1.02 MB / 1.019 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.7644, allocations: 12 kB / 1.019 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.775, allocations: 7.329 MB / 1.026 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.7751, allocations: 0 / 1.026 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003639/0.7787, allocations: 1.947 MB / 1.028 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009131/0.7797, allocations: 450 kB / 1.028 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.7798, allocations: 4 kB / 1.028 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000539/0.7804, allocations: 35.81 kB / 1.028 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.7805, allocations: 47.89 kB / 1.028 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.7806, allocations: 8 kB / 1.028 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003705/0.7843, allocations: 2.04 MB / 1.03 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of sort global known variables: time 7.21e-07/0.7843, allocations: 0 / 1.03 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003142/0.7875, allocations: 0.6209 MB / 1.031 GB, free: 0.5312 MB / 0.7794 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 (3): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(13,43.8%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004148/0.7916, allocations: 2.561 MB / 1.033 GB, free: 13.94 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005291/0.7969, allocations: 2.832 MB / 1.036 GB, free: 11.1 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.797, allocations: 0 / 1.036 GB, free: 11.1 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/0.7991, allocations: 1.071 MB / 1.037 GB, free: 10.01 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.802, allocations: 0.6198 MB / 1.038 GB, free: 9.395 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03948/0.8415, allocations: 20.11 MB / 1.057 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/0.843, allocations: 1.919 MB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001585/0.8446, allocations: 317.6 kB / 1.06 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/0.8458, allocations: 0.7102 MB / 1.06 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of SimCode: time 1.433e-06/0.8458, allocations: 0 / 1.06 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08935/0.9352, allocations: 59.72 MB / 1.119 GB, free: 6.188 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.9354, allocations: 283.4 kB / 1.119 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.037/3.972, allocations: 0 / 1.119 GB, free: 5.828 MB / 0.8731 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat does not exist to compare? outputFormat=mat