Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.219/2.219, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001557/0.001556, allocations: 188.9 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.001062/0.001062, allocations: 83.97 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.101e-05, allocations: 3.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3204, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.378/4.699, allocations: 1.736 GB / 2.955 GB, free: 77.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/4.699, allocations: 83.95 kB / 2.955 GB, free: 77.82 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.9348/5.634, allocations: 99.68 MB / 3.052 GB, free: 392.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.525e-06/5.634, allocations: 0 / 3.052 GB, free: 392.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001419/5.634, allocations: 47.77 kB / 3.052 GB, free: 392.8 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.00593/5.64, allocations: 1.927 MB / 3.054 GB, free: 392 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/5.64, allocations: 10.22 kB / 3.054 GB, free: 392 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004834/5.641, allocations: 278.1 kB / 3.054 GB, free: 391.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02245/5.663, allocations: 1.886 MB / 3.056 GB, free: 391.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/5.667, allocations: 1.048 MB / 3.057 GB, free: 391.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/5.667, allocations: 146.8 kB / 3.057 GB, free: 391.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000615/5.668, allocations: 195.1 kB / 3.058 GB, free: 391.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007204/5.675, allocations: 2.45 MB / 3.06 GB, free: 391.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/5.675, allocations: 0 / 3.06 GB, free: 391.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003778/5.675, allocations: 83.94 kB / 3.06 GB, free: 391.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.098e-05/5.676, allocations: 49.09 kB / 3.06 GB, free: 391.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008232/5.684, allocations: 2.963 MB / 3.063 GB, free: 391.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02198/5.706, allocations: 6.739 MB / 3.07 GB, free: 390.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005089/5.711, allocations: 2.004 MB / 3.071 GB, free: 390.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/5.714, allocations: 1.057 MB / 3.072 GB, free: 390.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009074/5.715, allocations: 0.5033 MB / 3.073 GB, free: 389.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003073/5.718, allocations: 1.329 MB / 3.074 GB, free: 389.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=195): time 7.354e-06/5.718, allocations: 0 / 3.074 GB, free: 389.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=195): time 0.008058/5.726, allocations: 2.112 MB / 3.076 GB, free: 388.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/5.726, allocations: 253.7 kB / 3.077 GB, free: 388.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/5.728, allocations: 0.7918 MB / 3.077 GB, free: 388.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003106/5.728, allocations: 61.83 kB / 3.077 GB, free: 388.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/5.729, allocations: 0.6366 MB / 3.078 GB, free: 387.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008037/5.73, allocations: 0.6362 MB / 3.079 GB, free: 387.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/5.73, allocations: 30.5 kB / 3.079 GB, free: 387.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001221/5.73, allocations: 368.1 kB / 3.079 GB, free: 386.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/5.733, allocations: 0.7976 MB / 3.08 GB, free: 386.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002816/5.736, allocations: 0.9834 MB / 3.081 GB, free: 385.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/5.739, allocations: 0.8455 MB / 3.082 GB, free: 385.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/5.739, allocations: 3.938 kB / 3.082 GB, free: 385.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.007811/5.746, allocations: 2.156 MB / 3.084 GB, free: 384.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/5.746, allocations: 9.188 kB / 3.084 GB, free: 384.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/5.746, allocations: 1.031 kB / 3.084 GB, free: 384.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009379/5.747, allocations: 87.52 kB / 3.084 GB, free: 384.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006321/5.754, allocations: 0.5606 MB / 3.084 GB, free: 384.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002632/5.756, allocations: 1.529 MB / 3.086 GB, free: 383.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/5.761, allocations: 336.4 kB / 3.086 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004064/5.762, allocations: 90.06 kB / 3.086 GB, free: 383.1 MB / 1.167 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.0006573/5.762, allocations: 204.3 kB / 3.086 GB, free: 383 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006059/5.763, allocations: 141.5 kB / 3.087 GB, free: 382.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009893/5.773, allocations: 2.768 MB / 3.089 GB, free: 381.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/5.773, allocations: 24.92 kB / 3.089 GB, free: 381.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/5.773, allocations: 0 / 3.089 GB, free: 381.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.922e-05/5.773, allocations: 10.59 kB / 3.089 GB, free: 381.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/5.786, allocations: 4.991 MB / 3.094 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/5.786, allocations: 3.75 kB / 3.094 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005851/5.792, allocations: 0.5517 MB / 3.095 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007988/5.792, allocations: 89.58 kB / 3.095 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000302/5.793, allocations: 62.28 kB / 3.095 GB, free: 379.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/5.795, allocations: 1.557 MB / 3.096 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/5.795, allocations: 0 / 3.096 GB, free: 378.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006936/5.802, allocations: 2.311 MB / 3.099 GB, free: 377.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/5.804, allocations: 0.5454 MB / 3.099 GB, free: 376.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004623/5.804, allocations: 38.16 kB / 3.099 GB, free: 376.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004498/5.809, allocations: 263.9 kB / 3.099 GB, free: 376.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003659/5.809, allocations: 123.9 kB / 3.1 GB, free: 376.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003415/5.809, allocations: 85.64 kB / 3.1 GB, free: 376.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001487/5.811, allocations: 0.6649 MB / 3.1 GB, free: 376.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.21e-07/5.811, allocations: 0 / 3.1 GB, free: 376.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002892/5.814, allocations: 0.6485 MB / 3.101 GB, free: 376.1 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.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.009818/5.824, allocations: 3.846 MB / 3.105 GB, free: 374.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006077/5.83, allocations: 2.208 MB / 3.107 GB, free: 373.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/5.83, allocations: 0 / 3.107 GB, free: 373.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003119/5.833, allocations: 1.288 MB / 3.108 GB, free: 372.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/5.835, allocations: 287 kB / 3.108 GB, free: 372.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/5.846, allocations: 3.193 MB / 3.112 GB, free: 371.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/5.847, allocations: 1.375 MB / 3.113 GB, free: 370.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005953/5.853, allocations: 0.5593 MB / 3.113 GB, free: 370.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002194/5.855, allocations: 0.7589 MB / 3.114 GB, free: 369.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.363e-06/5.855, allocations: 2.25 kB / 3.114 GB, free: 369.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06798/5.923, allocations: 49.67 MB / 3.163 GB, free: 335.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/5.923, allocations: 253.6 kB / 3.163 GB, free: 334.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.524/9.447, allocations: 5.719 kB / 3.163 GB, free: 334.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat does not exist to compare? outputFormat=mat