Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",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.001337/0.001338, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002582/0.002583, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.718/2.718, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.686/4.686, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008025/0.0008028, allocations: 8 kB / 0.8375 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608/1.609, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00785/1.617, allocations: 3.708 MB / 0.9845 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2744/1.891, allocations: 127.6 MB / 1.109 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001618/1.893, allocations: 11.94 kB / 1.109 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007604/1.894, allocations: 71.34 kB / 1.109 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00366/1.897, allocations: 0.5116 MB / 1.11 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/1.901, allocations: 0.6306 MB / 1.11 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002707/1.904, allocations: 0.8487 MB / 1.111 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001423/1.905, allocations: 479.5 kB / 1.112 GB, free: 144 kB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001278/1.906, allocations: 358.6 kB / 1.112 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007566/1.907, allocations: 342.2 kB / 1.112 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/1.907, allocations: 31.83 kB / 1.112 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/1.908, allocations: 311.6 kB / 1.113 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003117/1.909, allocations: 187.2 kB / 1.113 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003594/1.909, allocations: 201.1 kB / 1.113 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/1.911, allocations: 1.173 MB / 1.114 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.911, allocations: 0 / 1.114 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.236e-06/1.911, allocations: 0 / 1.114 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.359e-05/1.912, allocations: 0 / 1.114 GB, free: 13.56 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003882/1.915, allocations: 1.234 MB / 1.115 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.673e-05/1.915, allocations: 8.031 kB / 1.115 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002981/1.916, allocations: 147.5 kB / 1.115 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/1.918, allocations: 250.3 kB / 1.116 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/1.92, allocations: 0.7263 MB / 1.116 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/1.92, allocations: 69.95 kB / 1.116 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/1.92, allocations: 88 kB / 1.116 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/1.923, allocations: 0.9794 MB / 1.117 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/1.923, allocations: 0 / 1.117 GB, free: 9.922 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/1.923, allocations: 40 kB / 1.117 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/1.923, allocations: 20 kB / 1.118 GB, free: 9.863 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/1.926, allocations: 1.171 MB / 1.119 GB, free: 8.695 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007002/1.933, allocations: 2.869 MB / 1.121 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002816/1.936, allocations: 0.9614 MB / 1.122 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/1.936, allocations: 36.59 kB / 1.122 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0014/1.938, allocations: 0.4963 MB / 1.123 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 4.328e-06/1.938, allocations: 0 / 1.123 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.004902/1.943, allocations: 1.236 MB / 1.124 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/1.943, allocations: 188.9 kB / 1.124 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/1.944, allocations: 0.6292 MB / 1.125 GB, free: 2.082 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/1.944, allocations: 49.7 kB / 1.125 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005235/1.945, allocations: 408.3 kB / 1.125 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003652/1.945, allocations: 276 kB / 1.126 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/1.945, allocations: 12 kB / 1.126 GB, free: 1.336 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002686/1.946, allocations: 386.8 kB / 1.126 GB, free: 0.9492 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/1.946, allocations: 253.9 kB / 1.126 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009397/1.947, allocations: 385.1 kB / 1.127 GB, free: 296 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008789/1.948, allocations: 294.9 kB / 1.127 GB, free: 4 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/1.948, allocations: 0 / 1.127 GB, free: 4 kB / 0.8731 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002897/1.951, allocations: 0.8447 MB / 1.128 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/1.951, allocations: 11.94 kB / 1.128 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.951, allocations: 0 / 1.128 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008431/1.952, allocations: 88.95 kB / 1.128 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/1.953, allocations: 167.7 kB / 1.128 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/1.956, allocations: 1.532 MB / 1.129 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/1.958, allocations: 95.33 kB / 1.13 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.958, allocations: 40.03 kB / 1.13 GB, free: 13.07 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009256/1.959, allocations: 261.6 kB / 1.13 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/1.959, allocations: 90.89 kB / 1.13 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003701/1.963, allocations: 1.097 MB / 1.131 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.963, allocations: 8 kB / 1.131 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.963, allocations: 0 / 1.131 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/1.963, allocations: 15.92 kB / 1.131 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005658/1.969, allocations: 2.102 MB / 1.133 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.969, allocations: 0 / 1.133 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/1.97, allocations: 151.8 kB / 1.133 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008014/1.97, allocations: 80.78 kB / 1.133 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.971, allocations: 23.98 kB / 1.133 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/1.974, allocations: 1.56 MB / 1.135 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.974, allocations: 0 / 1.135 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/1.977, allocations: 1.023 MB / 1.136 GB, free: 6.414 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007906/1.978, allocations: 291.6 kB / 1.136 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/1.978, allocations: 16 kB / 1.136 GB, free: 6.094 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.98, allocations: 89.34 kB / 1.136 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/1.98, allocations: 68.89 kB / 1.136 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/1.98, allocations: 39.92 kB / 1.136 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001171/1.981, allocations: 459 kB / 1.137 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.41e-07/1.981, allocations: 0 / 1.137 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001716/1.983, allocations: 311.2 kB / 1.137 GB, free: 5.156 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00618/1.989, allocations: 2.051 MB / 1.139 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003208/1.992, allocations: 0.8195 MB / 1.14 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.992, allocations: 4 kB / 1.14 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001788/1.994, allocations: 0.5318 MB / 1.14 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/1.996, allocations: 258 kB / 1.141 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/2.018, allocations: 6.036 MB / 1.147 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/2.02, allocations: 1.055 MB / 1.148 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001845/2.022, allocations: 266.8 kB / 1.148 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00096/2.023, allocations: 391.3 kB / 1.148 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of SimCode: time 1.583e-06/2.023, allocations: 4 kB / 1.148 GB, free: 9.727 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07426/2.098, allocations: 21.77 MB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005706/2.098, allocations: 276.3 kB / 1.17 GB, free: 4.004 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.997/6.096, allocations: 0 / 1.17 GB, free: 4.004 MB / 0.92 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat does not exist to compare? outputFormat=mat