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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.3 MB / 0.6653 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004888, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8387/0.8392, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00686/0.8461, allocations: 5.432 MB / 0.9589 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2046/1.051, allocations: 128.6 MB / 1.084 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/1.053, allocations: 19.88 kB / 1.084 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009608/1.054, allocations: 122.8 kB / 1.085 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003102/1.057, allocations: 0.6628 MB / 1.085 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003028/1.06, allocations: 0.97 MB / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003204/1.063, allocations: 1.515 MB / 1.088 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/1.066, allocations: 1.192 MB / 1.089 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/1.067, allocations: 0.7741 MB / 1.09 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/1.069, allocations: 0.8551 MB / 1.09 GB, free: 3.66 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005162/1.069, allocations: 64 kB / 1.09 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/1.071, allocations: 371.6 kB / 1.091 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0006909/1.071, allocations: 386.3 kB / 1.091 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008344/1.072, allocations: 388.5 kB / 1.092 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003324/1.076, allocations: 2.595 MB / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/1.076, allocations: 0 / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.913e-06/1.076, allocations: 0 / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.995e-05/1.076, allocations: 0 / 1.094 GB, free: 15.87 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005178/1.081, allocations: 2.297 MB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/1.081, allocations: 8.031 kB / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004151/1.081, allocations: 320.6 kB / 1.097 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/1.097, allocations: 2.295 MB / 1.099 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/1.099, allocations: 1.228 MB / 1.1 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/1.099, allocations: 176.5 kB / 1.1 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/1.1, allocations: 220 kB / 1.1 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008188/1.108, allocations: 3.313 MB / 1.104 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/1.108, allocations: 0 / 1.104 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/1.108, allocations: 95.94 kB / 1.104 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-05/1.108, allocations: 56 kB / 1.104 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/1.121, allocations: 4.326 MB / 1.108 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01734/1.138, allocations: 7.356 MB / 1.115 GB, free: 9.848 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008734/1.147, allocations: 2.886 MB / 1.118 GB, free: 6.953 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007907/1.148, allocations: 0.5035 MB / 1.119 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005071/1.153, allocations: 1.848 MB / 1.12 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=213): time 6.352e-06/1.153, allocations: 3.984 kB / 1.12 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of matching and sorting (n=213): time 0.01449/1.167, allocations: 4.483 MB / 1.125 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.167, allocations: 209.9 kB / 1.125 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/1.169, allocations: 0.9335 MB / 1.126 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003606/1.169, allocations: 61.7 kB / 1.126 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/1.17, allocations: 0.7504 MB / 1.127 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006922/1.17, allocations: 0.6853 MB / 1.127 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/1.171, allocations: 36 kB / 1.127 GB, free: 13.22 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.171, allocations: 374 kB / 1.128 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0041/1.175, allocations: 1.241 MB / 1.129 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004373/1.179, allocations: 1.429 MB / 1.13 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004277/1.184, allocations: 1.275 MB / 1.132 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/1.184, allocations: 4 kB / 1.132 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.01017/1.194, allocations: 3.077 MB / 1.135 GB, free: 5.777 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/1.194, allocations: 9.094 kB / 1.135 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.194, allocations: 4.062 kB / 1.135 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006352/1.194, allocations: 92.72 kB / 1.135 GB, free: 5.672 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00377/1.198, allocations: 0.6006 MB / 1.135 GB, free: 5.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/1.201, allocations: 1.532 MB / 1.137 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/1.204, allocations: 374.1 kB / 1.137 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005239/1.205, allocations: 95.89 kB / 1.137 GB, free: 2.938 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.001945/1.207, allocations: 443.9 kB / 1.138 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000765/1.208, allocations: 158 kB / 1.138 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.221, allocations: 3.747 MB / 1.141 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/1.221, allocations: 24 kB / 1.141 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.221, allocations: 0 / 1.141 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.855e-05/1.221, allocations: 11.95 kB / 1.141 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/1.225, allocations: 2.459 MB / 1.144 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/1.225, allocations: 4 kB / 1.144 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003701/1.229, allocations: 0.5656 MB / 1.144 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006304/1.229, allocations: 92.75 kB / 1.145 GB, free: 11.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004527/1.23, allocations: 71.91 kB / 1.145 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/1.232, allocations: 1.567 MB / 1.146 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/1.232, allocations: 0 / 1.146 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/1.244, allocations: 3.226 MB / 1.149 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.245, allocations: 0.5684 MB / 1.15 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007578/1.246, allocations: 43.98 kB / 1.15 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003389/1.25, allocations: 296.3 kB / 1.15 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004977/1.25, allocations: 149.8 kB / 1.15 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004287/1.251, allocations: 91.91 kB / 1.15 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001434/1.252, allocations: 0.6958 MB / 1.151 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.252, allocations: 0 / 1.151 GB, free: 4.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002522/1.255, allocations: 0.6425 MB / 1.152 GB, free: 3.836 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.01303/1.268, allocations: 4.334 MB / 1.156 GB, free: 15.66 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.279, allocations: 3.135 MB / 1.159 GB, free: 12.51 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.279, allocations: 4 kB / 1.159 GB, free: 12.5 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.005814/1.285, allocations: 1.759 MB / 1.161 GB, free: 10.74 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/1.287, allocations: 293.1 kB / 1.161 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03801/1.325, allocations: 13.72 MB / 1.174 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/1.327, allocations: 1.471 MB / 1.176 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.004273/1.331, allocations: 0.5714 MB / 1.176 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002227/1.333, allocations: 0.8662 MB / 1.177 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of SimCode: time 1.263e-06/1.333, allocations: 0 / 1.177 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07967/1.413, allocations: 41.7 MB / 1.218 GB, free: 132 kB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/1.413, allocations: 276.8 kB / 1.218 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/4.334, allocations: 0 / 1.218 GB, free: 15.77 MB / 0.9825 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