Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.282/2.282, allocations: 393.5 MB / 408.4 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.001074/0.001074, allocations: 180 kB / 0.4901 GB, free: 2.262 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.616/1.616, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009293/0.0009293, allocations: 113.8 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 14.98 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2957, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.132/4.427, allocations: 1.732 GB / 2.961 GB, free: 255.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/4.428, allocations: 96.61 kB / 2.961 GB, free: 255 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.129/4.557, allocations: 59.07 MB / 3.019 GB, free: 195.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.956e-06/4.557, allocations: 0 / 3.019 GB, free: 195.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001063/4.557, allocations: 27.94 kB / 3.019 GB, free: 195.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002756/4.56, allocations: 1.183 MB / 3.02 GB, free: 194.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/4.56, allocations: 8.031 kB / 3.02 GB, free: 194.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/4.56, allocations: 122.9 kB / 3.02 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/4.561, allocations: 186.6 kB / 3.02 GB, free: 194.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/4.562, allocations: 0.6075 MB / 3.021 GB, free: 193.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/4.562, allocations: 58 kB / 3.021 GB, free: 193.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/4.562, allocations: 72 kB / 3.021 GB, free: 193.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/4.564, allocations: 0.852 MB / 3.022 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/4.564, allocations: 3.953 kB / 3.022 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/4.564, allocations: 32 kB / 3.022 GB, free: 192.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/4.564, allocations: 20 kB / 3.022 GB, free: 192.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/4.565, allocations: 1.061 MB / 3.023 GB, free: 191.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003823/4.569, allocations: 2.394 MB / 3.025 GB, free: 188.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/4.57, allocations: 0.7245 MB / 3.026 GB, free: 188.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.139e-05/4.571, allocations: 28.67 kB / 3.026 GB, free: 188.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006618/4.571, allocations: 423.1 kB / 3.026 GB, free: 187.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=71): time 4.278e-06/4.571, allocations: 7.938 kB / 3.026 GB, free: 187.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=71): time 0.002832/4.574, allocations: 1.081 MB / 3.027 GB, free: 186.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.993e-05/4.574, allocations: 240 kB / 3.028 GB, free: 186.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008045/4.575, allocations: 0.5853 MB / 3.028 GB, free: 185.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/4.575, allocations: 37.7 kB / 3.028 GB, free: 185.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/4.575, allocations: 372.3 kB / 3.029 GB, free: 185.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/4.576, allocations: 232.6 kB / 3.029 GB, free: 185 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/4.576, allocations: 20 kB / 3.029 GB, free: 185 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.705e-05/4.576, allocations: 382.7 kB / 3.029 GB, free: 184.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/4.576, allocations: 209.2 kB / 3.029 GB, free: 184.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/4.577, allocations: 331.6 kB / 3.03 GB, free: 184.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/4.577, allocations: 259.1 kB / 3.03 GB, free: 183.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/4.577, allocations: 4 kB / 3.03 GB, free: 183.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001627/4.579, allocations: 0.7197 MB / 3.031 GB, free: 183.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/4.579, allocations: 4 kB / 3.031 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/4.579, allocations: 0 / 3.031 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/4.579, allocations: 92.75 kB / 3.031 GB, free: 183 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/4.58, allocations: 131.9 kB / 3.031 GB, free: 182.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/4.582, allocations: 1.528 MB / 3.032 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006831/4.582, allocations: 79.42 kB / 3.032 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/4.582, allocations: 28.05 kB / 3.033 GB, free: 181.1 MB / 1.167 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0005062/4.583, allocations: 250.9 kB / 3.033 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/4.583, allocations: 75.06 kB / 3.033 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/4.585, allocations: 0.9901 MB / 3.034 GB, free: 179.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/4.585, allocations: 8 kB / 3.034 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/4.585, allocations: 4 kB / 3.034 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/4.585, allocations: 7.938 kB / 3.034 GB, free: 179.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/4.586, allocations: 0.8373 MB / 3.035 GB, free: 178.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/4.586, allocations: 0 / 3.035 GB, free: 178.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005337/4.587, allocations: 147.8 kB / 3.035 GB, free: 178.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005127/4.587, allocations: 84.77 kB / 3.035 GB, free: 178.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/4.587, allocations: 15.98 kB / 3.035 GB, free: 178.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/4.589, allocations: 1.56 MB / 3.036 GB, free: 176.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/4.589, allocations: 7.938 kB / 3.036 GB, free: 176.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/4.591, allocations: 0.8265 MB / 3.037 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/4.591, allocations: 287.7 kB / 3.037 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/4.591, allocations: 23.95 kB / 3.037 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005636/4.592, allocations: 63.94 kB / 3.038 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/4.592, allocations: 56.92 kB / 3.038 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/4.592, allocations: 27.98 kB / 3.038 GB, free: 175.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005725/4.593, allocations: 487 kB / 3.038 GB, free: 175.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.593, allocations: 0 / 3.038 GB, free: 175.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001136/4.594, allocations: 359.1 kB / 3.038 GB, free: 174.8 MB / 1.167 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.004003/4.598, allocations: 2.344 MB / 3.041 GB, free: 172.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001457/4.599, allocations: 0.7199 MB / 3.041 GB, free: 171.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/4.599, allocations: 0 / 3.041 GB, free: 171.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007508/4.6, allocations: 488.3 kB / 3.042 GB, free: 171.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/4.601, allocations: 227.2 kB / 3.042 GB, free: 171.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008973/4.61, allocations: 4.947 MB / 3.047 GB, free: 166.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/4.611, allocations: 1.02 MB / 3.048 GB, free: 165.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009216/4.612, allocations: 249.9 kB / 3.048 GB, free: 164.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/4.612, allocations: 343.3 kB / 3.049 GB, free: 164.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.483e-06/4.612, allocations: 0 / 3.049 GB, free: 164.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05533/4.668, allocations: 28.96 MB / 3.077 GB, free: 135.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/4.668, allocations: 298.9 kB / 3.077 GB, free: 135.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.99/7.658, allocations: 7.438 kB / 3.077 GB, free: 135.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat