Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.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.RadiationTemperature,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature,fileNamePrefix="Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature",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.001112/0.001112, allocations: 86.33 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.001199/0.001199, 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.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.404/2.404, allocations: 409.4 MB / 0.684 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003502, allocations: 12 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6592, allocations: 146.8 MB / 0.9811 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature): time 0.00845/0.6677, allocations: 6.929 MB / 0.9879 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.00757/0.6754, allocations: 4.928 MB / 0.9927 GB, free: 10.4 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.6765, allocations: 39.75 kB / 0.9928 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003836/0.6804, allocations: 1.396 MB / 0.9941 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.6821, allocations: 0.5743 MB / 0.9947 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.000774/0.6829, allocations: 231.6 kB / 0.9949 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002535/0.6854, allocations: 1.949 MB / 0.9968 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.6863, allocations: 0.5855 MB / 0.9974 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.6874, allocations: 0.6764 MB / 0.998 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.6885, allocations: 0.8126 MB / 0.9988 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.6887, allocations: 68 kB / 0.9989 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.6892, allocations: 183.8 kB / 0.9991 GB, free: 3.852 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.6895, allocations: 322.6 kB / 0.9994 GB, free: 3.535 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004232/0.6899, allocations: 388.6 kB / 0.9997 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.6917, allocations: 1.777 MB / 1.001 GB, free: 1.367 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.6917, allocations: 4 kB / 1.001 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.875e-06/0.6917, allocations: 0 / 1.001 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.451e-05/0.6918, allocations: 4 kB / 1.001 GB, free: 1.359 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00295/0.6947, allocations: 2.028 MB / 1.003 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6948, allocations: 12.03 kB / 1.003 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.6949, allocations: 94.52 kB / 1.004 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.6951, allocations: 217.3 kB / 1.004 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.6975, allocations: 1.502 MB / 1.005 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/0.6975, allocations: 40.94 kB / 1.005 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.539e-05/0.6976, allocations: 55.94 kB / 1.005 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.6986, allocations: 0.5568 MB / 1.006 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.6986, allocations: 0 / 1.006 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.6987, allocations: 20 kB / 1.006 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.6987, allocations: 12 kB / 1.006 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007643/0.6995, allocations: 0.4918 MB / 1.006 GB, free: 12.19 MB / 0.7637 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.004496/0.704, allocations: 3.282 MB / 1.01 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.891e-05/0.7041, allocations: 62.47 kB / 1.01 GB, free: 8.586 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.258e-05/0.7042, allocations: 56.88 kB / 1.01 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.7042, allocations: 0 / 1.01 GB, free: 8.527 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.7042, allocations: 30.56 kB / 1.01 GB, free: 8.488 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/0.7042, allocations: 0 / 1.01 GB, free: 8.488 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0005948/0.7048, allocations: 362.8 kB / 1.01 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.7049, allocations: 55.41 kB / 1.01 GB, free: 8.059 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003667/0.7085, allocations: 2.931 MB / 1.013 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.7086, allocations: 25.7 kB / 1.013 GB, free: 5.082 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009032/0.7095, allocations: 0.9465 MB / 1.014 GB, free: 4.129 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.7095, allocations: 7.984 kB / 1.014 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.7095, allocations: 8 kB / 1.014 GB, free: 4.113 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.7097, allocations: 326 kB / 1.014 GB, free: 3.789 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.7099, allocations: 153 kB / 1.014 GB, free: 3.641 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.7104, allocations: 461.3 kB / 1.015 GB, free: 3.047 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.7107, allocations: 247.7 kB / 1.015 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.7107, allocations: 4 kB / 1.015 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00105/0.7118, allocations: 0.7681 MB / 1.016 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.7118, allocations: 9.406 kB / 1.016 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.7118, allocations: 12 kB / 1.016 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/0.7118, allocations: 16 kB / 1.016 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.7122, allocations: 99.84 kB / 1.016 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/0.7122, allocations: 24.52 kB / 1.016 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/0.7129, allocations: 95.05 kB / 1.016 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.7129, allocations: 28 kB / 1.016 GB, free: 1.746 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (58): * Single equations (assignments): 58 * 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.0008941/0.7138, allocations: 0.7352 MB / 1.017 GB, free: 1 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.714, allocations: 217.3 kB / 1.017 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.7143, allocations: 219.8 kB / 1.017 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.7143, allocations: 0 / 1.017 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7143, allocations: 0 / 1.017 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7143, allocations: 3.984 kB / 1.017 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.7154, allocations: 0.9432 MB / 1.018 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7154, allocations: 3.953 kB / 1.018 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.153e-05/0.7155, allocations: 4 kB / 1.018 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.7155, allocations: 0 / 1.018 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.7155, allocations: 0 / 1.018 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7155, allocations: 4 kB / 1.018 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7155, allocations: 0 / 1.018 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004108/0.7159, allocations: 421.1 kB / 1.019 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/0.7164, allocations: 366.3 kB / 1.019 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.7166, allocations: 0 / 1.019 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003247/0.7169, allocations: 15.92 kB / 1.019 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.7169, allocations: 0 / 1.019 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.7169, allocations: 0 / 1.019 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002616/0.7196, allocations: 2.062 MB / 1.021 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7196, allocations: 0 / 1.021 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007633/0.7204, allocations: 240 kB / 1.021 GB, free: 12.42 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 (1): * Single equations (assignments): 1 * 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.001108/0.7215, allocations: 1.013 MB / 1.022 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004626/0.7219, allocations: 310.1 kB / 1.022 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.722, allocations: 0 / 1.022 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.014e-05/0.722, allocations: 39.95 kB / 1.023 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.7244, allocations: 0.6608 MB / 1.023 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02455/0.749, allocations: 14.02 MB / 1.037 GB, free: 11.26 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.7505, allocations: 1.804 MB / 1.039 GB, free: 9.422 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001004/0.7516, allocations: 297.3 kB / 1.039 GB, free: 9.125 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008302/0.7524, allocations: 0.675 MB / 1.04 GB, free: 8.449 MB / 0.795 GB Notification: Performance of SimCode: time 8.11e-07/0.7524, allocations: 0 / 1.04 GB, free: 8.449 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07463/0.827, allocations: 42.36 MB / 1.081 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/0.8273, allocations: 265.5 kB / 1.081 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.786/3.614, allocations: 0 / 1.081 GB, free: 14.33 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_RadiationTemperature.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.RadiationTemperature_res.mat does not exist to compare? outputFormat=mat