Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001076/0.001076, allocations: 172.5 kB / 492.3 MB, free: 0.6328 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.595/1.595, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.00101/0.00101, allocations: 98.69 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.018e-05, allocations: 7.984 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3397, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.975/5.315, allocations: 1.735 GB / 2.948 GB, free: 103.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/5.316, allocations: 88.27 kB / 2.948 GB, free: 103.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2262/5.542, allocations: 99.69 MB / 3.045 GB, free: 9.18 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.044e-06/5.542, allocations: 0 / 3.045 GB, free: 9.18 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001619/5.542, allocations: 44 kB / 3.045 GB, free: 9.137 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.005604/5.548, allocations: 1.92 MB / 3.047 GB, free: 7.164 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/5.548, allocations: 12.03 kB / 3.047 GB, free: 7.152 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005905/5.548, allocations: 278.9 kB / 3.047 GB, free: 6.871 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/5.56, allocations: 1.882 MB / 3.049 GB, free: 4.984 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/5.563, allocations: 1.059 MB / 3.05 GB, free: 3.883 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.165e-05/5.563, allocations: 144 kB / 3.05 GB, free: 3.742 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/5.563, allocations: 192 kB / 3.05 GB, free: 3.555 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004086/5.567, allocations: 2.45 MB / 3.053 GB, free: 1.066 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/5.567, allocations: 0 / 3.053 GB, free: 1.066 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002347/5.568, allocations: 84 kB / 3.053 GB, free: 0.9844 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/5.568, allocations: 48 kB / 3.053 GB, free: 0.9375 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8218/6.389, allocations: 2.953 MB / 3.056 GB, free: 379.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02136/6.411, allocations: 6.742 MB / 3.062 GB, free: 378.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004285/6.415, allocations: 2 MB / 3.064 GB, free: 378.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002112/6.417, allocations: 1.057 MB / 3.065 GB, free: 378.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008697/6.418, allocations: 0.5042 MB / 3.066 GB, free: 377.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00289/6.421, allocations: 1.323 MB / 3.067 GB, free: 377.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=195): time 4.739e-06/6.421, allocations: 1.469 kB / 3.067 GB, free: 377.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=195): time 0.0054/6.426, allocations: 2.11 MB / 3.069 GB, free: 377.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/6.427, allocations: 258.1 kB / 3.069 GB, free: 377.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/6.428, allocations: 0.7915 MB / 3.07 GB, free: 377 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002549/6.428, allocations: 58.77 kB / 3.07 GB, free: 377 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000694/6.429, allocations: 0.6451 MB / 3.071 GB, free: 376.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006857/6.43, allocations: 0.6289 MB / 3.072 GB, free: 376.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/6.43, allocations: 33.03 kB / 3.072 GB, free: 376.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000136/6.43, allocations: 368 kB / 3.072 GB, free: 376.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/6.432, allocations: 0.8049 MB / 3.073 GB, free: 376.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/6.434, allocations: 0.9809 MB / 3.074 GB, free: 376 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/6.436, allocations: 0.8407 MB / 3.074 GB, free: 376 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/6.436, allocations: 0.9688 kB / 3.074 GB, free: 376 MB / 1.151 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005441/6.441, allocations: 2.163 MB / 3.077 GB, free: 375.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/6.441, allocations: 4.438 kB / 3.077 GB, free: 375.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/6.441, allocations: 2.094 kB / 3.077 GB, free: 375.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/6.442, allocations: 87.31 kB / 3.077 GB, free: 375.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/6.446, allocations: 0.5648 MB / 3.077 GB, free: 375.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/6.448, allocations: 1.523 MB / 3.079 GB, free: 374.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/6.451, allocations: 344.6 kB / 3.079 GB, free: 374.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005632/6.452, allocations: 87.78 kB / 3.079 GB, free: 374.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 (206): * Single equations (assignments): 205 * 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.0006123/6.453, allocations: 209 kB / 3.079 GB, free: 374.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005678/6.453, allocations: 137.9 kB / 3.079 GB, free: 374.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007195/6.46, allocations: 2.762 MB / 3.082 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.64e-05/6.46, allocations: 24.28 kB / 3.082 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/6.46, allocations: 1.062 kB / 3.082 GB, free: 374.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.519e-05/6.46, allocations: 14.08 kB / 3.082 GB, free: 374.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/6.474, allocations: 4.992 MB / 3.087 GB, free: 372.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/6.474, allocations: 0 / 3.087 GB, free: 372.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003861/6.478, allocations: 0.5538 MB / 3.088 GB, free: 372.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005576/6.478, allocations: 88.95 kB / 3.088 GB, free: 372.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/6.479, allocations: 70.88 kB / 3.088 GB, free: 372.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/6.48, allocations: 1.541 MB / 3.089 GB, free: 371.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/6.48, allocations: 2.109 kB / 3.089 GB, free: 371.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/6.486, allocations: 2.31 MB / 3.092 GB, free: 370.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/6.487, allocations: 0.5461 MB / 3.092 GB, free: 369.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003757/6.488, allocations: 37.56 kB / 3.092 GB, free: 369.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002883/6.491, allocations: 269.1 kB / 3.092 GB, free: 369.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000363/6.491, allocations: 129.4 kB / 3.092 GB, free: 369.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002493/6.491, allocations: 79.27 kB / 3.093 GB, free: 369.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001243/6.492, allocations: 0.6652 MB / 3.093 GB, free: 369.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.31e-07/6.492, allocations: 0 / 3.093 GB, free: 369.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00293/6.495, allocations: 0.6487 MB / 3.094 GB, free: 369.2 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 (210): * Single equations (assignments): 207 * 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.007357/6.503, allocations: 3.85 MB / 3.098 GB, free: 367.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004944/6.508, allocations: 2.217 MB / 3.1 GB, free: 366.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/6.508, allocations: 0.5625 kB / 3.1 GB, free: 366.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/6.51, allocations: 1.284 MB / 3.101 GB, free: 366.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/6.512, allocations: 281.1 kB / 3.101 GB, free: 366 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007528/6.519, allocations: 3.196 MB / 3.104 GB, free: 364.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/6.52, allocations: 1.374 MB / 3.106 GB, free: 364 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003309/6.523, allocations: 0.5525 MB / 3.106 GB, free: 363.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/6.525, allocations: 0.7659 MB / 3.107 GB, free: 363.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.453e-06/6.525, allocations: 0 / 3.107 GB, free: 363.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0828/6.608, allocations: 49.68 MB / 3.156 GB, free: 349.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/6.608, allocations: 242.1 kB / 3.156 GB, free: 349.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.603/10.21, allocations: 0 / 3.156 GB, free: 349.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat does not exist to compare? outputFormat=mat