Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.192/2.192, allocations: 387.4 MB / 394.9 MB, free: 13.45 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.001002/0.001002, allocations: 172.8 kB / 487.4 MB, free: 5.082 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.607/1.607, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009158/0.0009157, allocations: 99.84 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.209e-05/2.266e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2637, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.635/4.899, allocations: 1.73 GB / 2.936 GB, free: 153.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/4.899, allocations: 87.94 kB / 2.936 GB, free: 153.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1218/5.021, allocations: 57.94 MB / 2.993 GB, free: 95 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.575e-06/5.021, allocations: 0 / 2.993 GB, free: 95 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.373e-05/5.021, allocations: 27.94 kB / 2.993 GB, free: 94.97 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001911/5.023, allocations: 1.063 MB / 2.994 GB, free: 93.86 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/5.023, allocations: 8.562 kB / 2.994 GB, free: 93.85 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008202/5.024, allocations: 186.6 kB / 2.994 GB, free: 93.66 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/5.025, allocations: 0.6075 MB / 2.995 GB, free: 93.02 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/5.025, allocations: 31.94 kB / 2.995 GB, free: 92.99 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.502e-05/5.025, allocations: 44 kB / 2.995 GB, free: 92.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00121/5.026, allocations: 0.964 MB / 2.996 GB, free: 91.98 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/5.027, allocations: 0.7077 MB / 2.996 GB, free: 91.23 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/5.027, allocations: 4 kB / 2.996 GB, free: 91.23 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/5.027, allocations: 3.953 kB / 2.996 GB, free: 91.22 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/5.027, allocations: 20 kB / 2.997 GB, free: 91.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00302/5.03, allocations: 2.216 MB / 2.999 GB, free: 88.93 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008074/5.031, allocations: 0.6363 MB / 2.999 GB, free: 88.28 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/5.031, allocations: 234.4 kB / 3 GB, free: 88.05 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.886e-05/5.032, allocations: 32.66 kB / 3 GB, free: 88.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005132/5.032, allocations: 379.7 kB / 3 GB, free: 87.63 MB / 1.151 GB Notification: Performance of pre-optimization done (n=71): time 4.348e-06/5.032, allocations: 0 / 3 GB, free: 87.63 MB / 1.151 GB Notification: Performance of matching and sorting (n=71): time 0.001403/5.033, allocations: 0.6406 MB / 3.001 GB, free: 86.97 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/5.034, allocations: 244.1 kB / 3.001 GB, free: 86.68 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/5.034, allocations: 0.4982 MB / 3.001 GB, free: 86.18 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/5.034, allocations: 25.7 kB / 3.001 GB, free: 86.14 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/5.034, allocations: 376.2 kB / 3.002 GB, free: 85.77 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/5.035, allocations: 216.7 kB / 3.002 GB, free: 85.55 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/5.035, allocations: 3.938 kB / 3.002 GB, free: 85.55 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001037/5.035, allocations: 378.8 kB / 3.002 GB, free: 85.17 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/5.035, allocations: 181.5 kB / 3.002 GB, free: 85 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/5.035, allocations: 287.5 kB / 3.003 GB, free: 84.69 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/5.036, allocations: 236.4 kB / 3.003 GB, free: 84.46 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/5.036, allocations: 4 kB / 3.003 GB, free: 84.45 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00119/5.037, allocations: 0.6368 MB / 3.004 GB, free: 83.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/5.037, allocations: 5.719 kB / 3.004 GB, free: 83.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/5.037, allocations: 64 / 3.004 GB, free: 83.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/5.037, allocations: 88.77 kB / 3.004 GB, free: 83.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/5.038, allocations: 139.8 kB / 3.004 GB, free: 83.57 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/5.04, allocations: 1.449 MB / 3.005 GB, free: 82 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/5.04, allocations: 63.47 kB / 3.005 GB, free: 81.94 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/5.04, allocations: 35.97 kB / 3.005 GB, free: 81.9 MB / 1.151 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 () * 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.000153/5.04, allocations: 115 kB / 3.005 GB, free: 81.79 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001221/5.041, allocations: 0.6329 MB / 3.006 GB, free: 81.14 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/5.042, allocations: 71.09 kB / 3.006 GB, free: 81.07 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/5.043, allocations: 0.8793 MB / 3.007 GB, free: 80.18 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/5.043, allocations: 11.95 kB / 3.007 GB, free: 80.17 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/5.043, allocations: 0 / 3.007 GB, free: 80.17 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/5.043, allocations: 3.984 kB / 3.007 GB, free: 80.16 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008146/5.044, allocations: 0.7127 MB / 3.008 GB, free: 79.41 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/5.044, allocations: 4 kB / 3.008 GB, free: 79.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/5.045, allocations: 143.8 kB / 3.008 GB, free: 79.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/5.045, allocations: 84.77 kB / 3.008 GB, free: 79.18 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/5.045, allocations: 15.92 kB / 3.008 GB, free: 79.17 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/5.047, allocations: 1.481 MB / 3.009 GB, free: 77.57 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/5.047, allocations: 7.891 kB / 3.009 GB, free: 77.56 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/5.048, allocations: 0.7349 MB / 3.01 GB, free: 76.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/5.048, allocations: 263.9 kB / 3.01 GB, free: 76.52 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/5.048, allocations: 11.95 kB / 3.01 GB, free: 76.51 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004665/5.049, allocations: 47.95 kB / 3.01 GB, free: 76.46 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/5.049, allocations: 56.69 kB / 3.01 GB, free: 76.41 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.838e-05/5.049, allocations: 31.98 kB / 3.01 GB, free: 76.38 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004167/5.049, allocations: 406.8 kB / 3.011 GB, free: 75.98 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/5.049, allocations: 0 / 3.011 GB, free: 75.98 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001065/5.05, allocations: 327 kB / 3.011 GB, free: 75.66 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.conTimMin.tNext,weaDat.conTim.tNext) * 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.003228/5.054, allocations: 2.263 MB / 3.013 GB, free: 73.48 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001133/5.055, allocations: 0.6277 MB / 3.014 GB, free: 72.84 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/5.055, allocations: 4.125 kB / 3.014 GB, free: 72.84 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005575/5.055, allocations: 436.5 kB / 3.014 GB, free: 72.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/5.056, allocations: 222.3 kB / 3.015 GB, free: 72.19 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/5.06, allocations: 1.447 MB / 3.016 GB, free: 70.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004856/5.061, allocations: 1.015 MB / 3.017 GB, free: 69.66 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007997/5.061, allocations: 249.6 kB / 3.017 GB, free: 69.41 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004481/5.062, allocations: 343.3 kB / 3.018 GB, free: 69.07 MB / 1.151 GB Notification: Performance of SimCode: time 1.172e-06/5.062, allocations: 0 / 3.018 GB, free: 69.07 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4738/5.536, allocations: 22.77 MB / 3.04 GB, free: 46.45 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/5.536, allocations: 222.1 kB / 3.04 GB, free: 46.15 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/8.748, allocations: 6.062 kB / 3.04 GB, free: 46.14 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat does not exist to compare? outputFormat=mat