Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.234/2.234, allocations: 390.5 MB / 398 MB, free: 10.98 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.001188/0.001189, allocations: 176.9 kB / 491.2 MB, free: 1.617 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.48/1.48, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0008952/0.0008952, allocations: 89.72 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.56e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2563, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.117/4.373, allocations: 1.732 GB / 2.944 GB, free: 133 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/4.373, allocations: 83.95 kB / 2.944 GB, free: 132.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1619/4.535, allocations: 79.65 MB / 3.022 GB, free: 52.95 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.803e-06/4.535, allocations: 0 / 3.022 GB, free: 52.95 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.01e-05/4.535, allocations: 31.94 kB / 3.022 GB, free: 52.92 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.001682/4.537, allocations: 1.27 MB / 3.023 GB, free: 51.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/4.537, allocations: 12.03 kB / 3.023 GB, free: 51.59 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008232/4.538, allocations: 222.1 kB / 3.023 GB, free: 51.37 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008435/4.539, allocations: 0.7094 MB / 3.024 GB, free: 50.61 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/4.539, allocations: 39.98 kB / 3.024 GB, free: 50.57 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.24e-05/4.539, allocations: 64 kB / 3.024 GB, free: 50.51 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001363/4.54, allocations: 1.125 MB / 3.025 GB, free: 49.38 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/4.541, allocations: 0.938 MB / 3.026 GB, free: 48.38 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/4.542, allocations: 3.984 kB / 3.026 GB, free: 48.38 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/4.542, allocations: 4 kB / 3.026 GB, free: 48.38 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/4.542, allocations: 28 kB / 3.026 GB, free: 48.35 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/4.545, allocations: 2.844 MB / 3.029 GB, free: 45.45 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008554/4.546, allocations: 0.6928 MB / 3.03 GB, free: 44.74 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/4.546, allocations: 255.2 kB / 3.03 GB, free: 44.49 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.66e-05/4.546, allocations: 36.8 kB / 3.03 GB, free: 44.45 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/4.547, allocations: 407.6 kB / 3.03 GB, free: 44.04 MB / 1.151 GB Notification: Performance of pre-optimization done (n=78): time 2.695e-06/4.547, allocations: 0 / 3.03 GB, free: 44.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=78): time 0.001396/4.548, allocations: 0.6886 MB / 3.031 GB, free: 43.34 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/4.548, allocations: 244 kB / 3.031 GB, free: 43.04 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/4.549, allocations: 0.5504 MB / 3.032 GB, free: 42.49 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/4.549, allocations: 29.7 kB / 3.032 GB, free: 42.45 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/4.549, allocations: 0.4994 MB / 3.032 GB, free: 41.95 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/4.55, allocations: 248.3 kB / 3.033 GB, free: 41.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/4.55, allocations: 0 / 3.033 GB, free: 41.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001286/4.55, allocations: 386.8 kB / 3.033 GB, free: 41.31 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/4.55, allocations: 201.5 kB / 3.033 GB, free: 41.11 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/4.55, allocations: 311.5 kB / 3.033 GB, free: 40.78 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/4.551, allocations: 256.5 kB / 3.034 GB, free: 40.53 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/4.551, allocations: 0 / 3.034 GB, free: 40.53 MB / 1.151 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001282/4.552, allocations: 0.6953 MB / 3.034 GB, free: 39.82 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/4.552, allocations: 7.953 kB / 3.034 GB, free: 39.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/4.552, allocations: 4 kB / 3.034 GB, free: 39.81 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/4.553, allocations: 84.83 kB / 3.034 GB, free: 39.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/4.553, allocations: 147.7 kB / 3.035 GB, free: 39.58 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/4.555, allocations: 1.465 MB / 3.036 GB, free: 38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/4.555, allocations: 59.53 kB / 3.036 GB, free: 37.94 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.003e-05/4.555, allocations: 23.98 kB / 3.036 GB, free: 37.91 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0001442/4.556, allocations: 124.9 kB / 3.036 GB, free: 37.79 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001226/4.557, allocations: 0.6796 MB / 3.037 GB, free: 37.09 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/4.557, allocations: 83.05 kB / 3.037 GB, free: 37.01 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/4.559, allocations: 0.9276 MB / 3.038 GB, free: 36.07 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/4.559, allocations: 12 kB / 3.038 GB, free: 36.05 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/4.559, allocations: 7.953 kB / 3.038 GB, free: 36.05 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/4.559, allocations: 3.984 kB / 3.038 GB, free: 36.04 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008038/4.559, allocations: 0.8415 MB / 3.039 GB, free: 35.16 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/4.559, allocations: 0 / 3.039 GB, free: 35.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/4.56, allocations: 151.8 kB / 3.039 GB, free: 35.01 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004409/4.56, allocations: 80.78 kB / 3.039 GB, free: 34.93 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/4.561, allocations: 15.98 kB / 3.039 GB, free: 34.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00127/4.562, allocations: 1.481 MB / 3.04 GB, free: 33.31 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/4.562, allocations: 3.938 kB / 3.04 GB, free: 33.31 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/4.563, allocations: 0.7894 MB / 3.041 GB, free: 32.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/4.563, allocations: 283.7 kB / 3.041 GB, free: 32.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/4.563, allocations: 11.95 kB / 3.041 GB, free: 32.19 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/4.564, allocations: 47.94 kB / 3.042 GB, free: 32.14 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.597e-05/4.564, allocations: 68.69 kB / 3.042 GB, free: 32.08 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/4.564, allocations: 35.92 kB / 3.042 GB, free: 32.04 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003831/4.564, allocations: 451.1 kB / 3.042 GB, free: 31.61 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/4.564, allocations: 0 / 3.042 GB, free: 31.61 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008976/4.565, allocations: 382.5 kB / 3.042 GB, free: 31.23 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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.003397/4.569, allocations: 2.312 MB / 3.045 GB, free: 29 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001177/4.57, allocations: 0.6867 MB / 3.045 GB, free: 28.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/4.57, allocations: 0 / 3.045 GB, free: 28.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005741/4.571, allocations: 468.4 kB / 3.046 GB, free: 27.84 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/4.572, allocations: 226.9 kB / 3.046 GB, free: 27.62 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/4.575, allocations: 1.717 MB / 3.048 GB, free: 25.86 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/4.576, allocations: 1.109 MB / 3.049 GB, free: 24.72 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00079/4.577, allocations: 262.4 kB / 3.049 GB, free: 24.46 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/4.577, allocations: 459.2 kB / 3.049 GB, free: 24.01 MB / 1.151 GB Notification: Performance of SimCode: time 9.11e-07/4.577, allocations: 0 / 3.049 GB, free: 24.01 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5657/5.143, allocations: 24.61 MB / 3.073 GB, free: 382.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/5.143, allocations: 200.7 kB / 3.074 GB, free: 382.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.81/7.954, allocations: 0 / 3.074 GB, free: 382.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat