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.225/2.225, allocations: 390.5 MB / 398 MB, free: 10.95 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.001149/0.001149, allocations: 184.8 kB / 491.2 MB, free: 1.566 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.522/1.522, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0008908/0.0008907, allocations: 95.58 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.672e-05/1.676e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2533, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.125/4.378, allocations: 1.735 GB / 2.948 GB, free: 102.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/4.379, allocations: 82.52 kB / 2.948 GB, free: 102.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2158/4.594, allocations: 98.76 MB / 3.044 GB, free: 8.855 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.593e-06/4.594, allocations: 4 kB / 3.044 GB, free: 8.852 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001204/4.595, allocations: 47.94 kB / 3.044 GB, free: 8.805 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.004205/4.599, allocations: 1.92 MB / 3.046 GB, free: 6.832 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/4.599, allocations: 11.97 kB / 3.046 GB, free: 6.82 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/4.611, allocations: 1.889 MB / 3.048 GB, free: 4.926 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/4.614, allocations: 1.052 MB / 3.049 GB, free: 3.828 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.473e-05/4.614, allocations: 71.94 kB / 3.049 GB, free: 3.758 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006656/4.614, allocations: 112 kB / 3.049 GB, free: 3.648 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00504/4.619, allocations: 2.854 MB / 3.052 GB, free: 0.793 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6162/5.236, allocations: 2.17 MB / 3.054 GB, free: 378.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/5.236, allocations: 1.062 kB / 3.054 GB, free: 378.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/5.236, allocations: 2.016 kB / 3.054 GB, free: 378.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/5.236, allocations: 50.41 kB / 3.054 GB, free: 378.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/5.251, allocations: 6.386 MB / 3.06 GB, free: 377.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/5.254, allocations: 1.89 MB / 3.062 GB, free: 377.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/5.256, allocations: 1.005 MB / 3.063 GB, free: 377.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007161/5.257, allocations: 0.5025 MB / 3.064 GB, free: 377.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002087/5.259, allocations: 1.266 MB / 3.065 GB, free: 377 MB / 1.151 GB Notification: Performance of pre-optimization done (n=195): time 4.077e-06/5.259, allocations: 2.625 kB / 3.065 GB, free: 377 MB / 1.151 GB Notification: Performance of matching and sorting (n=195): time 0.01296/5.272, allocations: 3.651 MB / 3.068 GB, free: 376.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/5.272, allocations: 254.9 kB / 3.069 GB, free: 376.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009548/5.273, allocations: 0.6394 MB / 3.069 GB, free: 376.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002001/5.273, allocations: 27.86 kB / 3.069 GB, free: 376.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/5.273, allocations: 0.6511 MB / 3.07 GB, free: 376.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/5.274, allocations: 0.6038 MB / 3.071 GB, free: 375.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/5.274, allocations: 0 / 3.071 GB, free: 375.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001476/5.274, allocations: 419.4 kB / 3.071 GB, free: 375.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/5.276, allocations: 0.7708 MB / 3.072 GB, free: 375.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/5.277, allocations: 0.9398 MB / 3.073 GB, free: 375.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009911/5.287, allocations: 2.457 MB / 3.075 GB, free: 375.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/5.287, allocations: 1.891 kB / 3.075 GB, free: 375.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01355/5.301, allocations: 3.685 MB / 3.079 GB, free: 375.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/5.301, allocations: 6.906 kB / 3.079 GB, free: 375.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/5.301, allocations: 2.047 kB / 3.079 GB, free: 375.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006048/5.301, allocations: 90.86 kB / 3.079 GB, free: 375.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/5.305, allocations: 0.5665 MB / 3.079 GB, free: 375.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/5.307, allocations: 1.459 MB / 3.081 GB, free: 374 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/5.31, allocations: 290.3 kB / 3.081 GB, free: 374 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004191/5.311, allocations: 85.69 kB / 3.081 GB, free: 374 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.0004845/5.311, allocations: 144.4 kB / 3.081 GB, free: 373.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01351/5.325, allocations: 3.647 MB / 3.085 GB, free: 373.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005132/5.325, allocations: 130 kB / 3.085 GB, free: 373.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/5.34, allocations: 4.257 MB / 3.089 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/5.34, allocations: 22.45 kB / 3.089 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/5.34, allocations: 1.219 kB / 3.089 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/5.34, allocations: 11.62 kB / 3.089 GB, free: 373.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/5.358, allocations: 6.271 MB / 3.095 GB, free: 371.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/5.358, allocations: 0 / 3.095 GB, free: 371.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003364/5.361, allocations: 0.5476 MB / 3.096 GB, free: 371.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004769/5.361, allocations: 88.02 kB / 3.096 GB, free: 371.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/5.362, allocations: 44.53 kB / 3.096 GB, free: 371.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/5.363, allocations: 1.487 MB / 3.097 GB, free: 370 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/5.363, allocations: 0 / 3.097 GB, free: 370 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/5.375, allocations: 3.841 MB / 3.101 GB, free: 368.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009949/5.376, allocations: 0.5248 MB / 3.102 GB, free: 368.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/5.377, allocations: 3.156 kB / 3.102 GB, free: 368.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/5.379, allocations: 232 kB / 3.102 GB, free: 368.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/5.379, allocations: 129.8 kB / 3.102 GB, free: 368.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/5.38, allocations: 80.58 kB / 3.102 GB, free: 368.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006103/5.38, allocations: 0.5368 MB / 3.103 GB, free: 368.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.31e-07/5.38, allocations: 0 / 3.103 GB, free: 368.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001939/5.382, allocations: 0.5887 MB / 3.103 GB, free: 368.1 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.01351/5.396, allocations: 5.415 MB / 3.108 GB, free: 366.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003281/5.399, allocations: 2.122 MB / 3.11 GB, free: 365.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/5.399, allocations: 0 / 3.11 GB, free: 365.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/5.401, allocations: 1.232 MB / 3.112 GB, free: 364.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/5.402, allocations: 244.9 kB / 3.112 GB, free: 364.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/5.409, allocations: 3.009 MB / 3.115 GB, free: 363.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007978/5.41, allocations: 1.372 MB / 3.116 GB, free: 362.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003332/5.414, allocations: 0.5477 MB / 3.117 GB, free: 362.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/5.415, allocations: 0.7628 MB / 3.117 GB, free: 362 MB / 1.151 GB Notification: Performance of SimCode: time 1.282e-06/5.415, allocations: 0 / 3.117 GB, free: 362 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06666/5.482, allocations: 40.96 MB / 3.157 GB, free: 346.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/5.482, allocations: 204.3 kB / 3.158 GB, free: 346.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.143/8.625, allocations: 0 / 3.158 GB, free: 346.5 MB / 1.151 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