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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.256/2.256, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 176.8 kB / 491.2 MB, free: 1.539 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.614/1.614, allocations: 221.5 MB / 0.7868 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 91.64 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.935e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3857, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.249/5.635, allocations: 1.731 GB / 2.943 GB, free: 107.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/5.635, allocations: 85.33 kB / 2.943 GB, free: 107.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1222/5.757, allocations: 57.4 MB / 2.999 GB, free: 55.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.502e-06/5.757, allocations: 0 / 2.999 GB, free: 55.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.619e-05/5.757, allocations: 27.94 kB / 2.999 GB, free: 55.37 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001593/5.759, allocations: 1.087 MB / 3 GB, free: 54.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/5.759, allocations: 8.031 kB / 3 GB, free: 54.23 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/5.76, allocations: 242.5 kB / 3 GB, free: 53.99 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/5.761, allocations: 0.6192 MB / 3.001 GB, free: 53.33 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/5.761, allocations: 24 kB / 3.001 GB, free: 53.31 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.751e-05/5.761, allocations: 48 kB / 3.001 GB, free: 53.26 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001225/5.762, allocations: 0.9992 MB / 3.002 GB, free: 52.26 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/5.763, allocations: 0.7572 MB / 3.003 GB, free: 51.46 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/5.763, allocations: 3.953 kB / 3.003 GB, free: 51.45 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/5.763, allocations: 3.938 kB / 3.003 GB, free: 51.45 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/5.763, allocations: 20 kB / 3.003 GB, free: 51.43 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/5.767, allocations: 2.564 MB / 3.005 GB, free: 48.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009758/5.768, allocations: 0.7642 MB / 3.006 GB, free: 48.01 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/5.768, allocations: 247.1 kB / 3.006 GB, free: 47.77 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.862e-05/5.768, allocations: 32.8 kB / 3.006 GB, free: 47.73 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005076/5.769, allocations: 391.7 kB / 3.007 GB, free: 47.33 MB / 1.151 GB Notification: Performance of pre-optimization done (n=74): time 2.575e-06/5.769, allocations: 4 kB / 3.007 GB, free: 47.33 MB / 1.151 GB Notification: Performance of matching and sorting (n=74): time 0.001366/5.77, allocations: 0.6485 MB / 3.007 GB, free: 46.67 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/5.77, allocations: 240.1 kB / 3.008 GB, free: 46.38 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005177/5.77, allocations: 0.4906 MB / 3.008 GB, free: 45.88 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/5.771, allocations: 29.7 kB / 3.008 GB, free: 45.85 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/5.771, allocations: 396 kB / 3.009 GB, free: 45.45 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/5.771, allocations: 236.4 kB / 3.009 GB, free: 45.22 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/5.771, allocations: 0 / 3.009 GB, free: 45.22 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.458e-05/5.771, allocations: 374.8 kB / 3.009 GB, free: 44.84 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/5.771, allocations: 189.5 kB / 3.009 GB, free: 44.66 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/5.772, allocations: 310.1 kB / 3.01 GB, free: 44.32 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/5.772, allocations: 248.4 kB / 3.01 GB, free: 44.07 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/5.772, allocations: 4 kB / 3.01 GB, free: 44.07 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001226/5.773, allocations: 0.6525 MB / 3.01 GB, free: 43.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/5.773, allocations: 8 kB / 3.01 GB, free: 43.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/5.773, allocations: 3.938 kB / 3.01 GB, free: 43.39 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005556/5.774, allocations: 84.92 kB / 3.011 GB, free: 43.31 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/5.774, allocations: 139.8 kB / 3.011 GB, free: 43.17 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/5.776, allocations: 1.461 MB / 3.012 GB, free: 41.59 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/5.776, allocations: 59.53 kB / 3.012 GB, free: 41.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/5.776, allocations: 31.98 kB / 3.012 GB, free: 41.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001735/5.777, allocations: 131.2 kB / 3.012 GB, free: 41.36 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001261/5.778, allocations: 0.6446 MB / 3.013 GB, free: 40.71 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/5.778, allocations: 79.09 kB / 3.013 GB, free: 40.63 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/5.78, allocations: 0.9034 MB / 3.014 GB, free: 39.71 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/5.78, allocations: 8 kB / 3.014 GB, free: 39.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/5.78, allocations: 4 kB / 3.014 GB, free: 39.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/5.78, allocations: 3.984 kB / 3.014 GB, free: 39.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002431/5.782, allocations: 1.753 MB / 3.016 GB, free: 37.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/5.782, allocations: 0 / 3.016 GB, free: 37.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/5.783, allocations: 151.8 kB / 3.016 GB, free: 37.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/5.783, allocations: 84.72 kB / 3.016 GB, free: 37.64 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/5.783, allocations: 11.98 kB / 3.016 GB, free: 37.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/5.785, allocations: 1.484 MB / 3.017 GB, free: 36.03 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/5.785, allocations: 7.875 kB / 3.017 GB, free: 36.02 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/5.786, allocations: 0.8143 MB / 3.018 GB, free: 35.19 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/5.786, allocations: 279.8 kB / 3.018 GB, free: 34.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/5.786, allocations: 4 kB / 3.018 GB, free: 34.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/5.787, allocations: 55.94 kB / 3.018 GB, free: 34.84 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/5.787, allocations: 56.7 kB / 3.019 GB, free: 34.79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-05/5.787, allocations: 35.98 kB / 3.019 GB, free: 34.75 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003845/5.787, allocations: 406.9 kB / 3.019 GB, free: 34.36 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.787, allocations: 0 / 3.019 GB, free: 34.36 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009077/5.788, allocations: 335 kB / 3.019 GB, free: 34.03 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002871/5.791, allocations: 2.33 MB / 3.022 GB, free: 31.78 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001022/5.792, allocations: 0.6511 MB / 3.022 GB, free: 31.12 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/5.792, allocations: 3.984 kB / 3.022 GB, free: 31.11 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005681/5.793, allocations: 452.7 kB / 3.023 GB, free: 30.66 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/5.794, allocations: 226.2 kB / 3.023 GB, free: 30.44 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003248/5.797, allocations: 1.49 MB / 3.024 GB, free: 28.91 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/5.798, allocations: 1.02 MB / 3.025 GB, free: 27.86 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000748/5.798, allocations: 261.9 kB / 3.026 GB, free: 27.61 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004189/5.799, allocations: 351.3 kB / 3.026 GB, free: 27.26 MB / 1.151 GB Notification: Performance of SimCode: time 5.21e-07/5.799, allocations: 0 / 3.026 GB, free: 27.26 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04834/5.847, allocations: 23.57 MB / 3.049 GB, free: 3.828 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/5.847, allocations: 206.1 kB / 3.049 GB, free: 3.621 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/8.576, allocations: 1.688 kB / 3.049 GB, free: 3.621 MB / 1.151 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) 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