Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.402/2.402, allocations: 390.5 MB / 398 MB, free: 10.9 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.001071/0.001071, allocations: 183.9 kB / 491.2 MB, free: 1.551 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.649/1.649, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0009707/0.0009709, allocations: 91.39 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.267e-05/2.264e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3375, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.374/5.711, allocations: 1.731 GB / 2.943 GB, free: 133.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/5.712, allocations: 84.58 kB / 2.943 GB, free: 133.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1324/5.844, allocations: 58.39 MB / 3 GB, free: 74.56 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.743e-06/5.844, allocations: 0 / 3 GB, free: 74.56 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001068/5.844, allocations: 27.98 kB / 3 GB, free: 74.54 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002493/5.847, allocations: 1.064 MB / 3.001 GB, free: 73.42 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/5.847, allocations: 8.031 kB / 3.001 GB, free: 73.41 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/5.848, allocations: 186.5 kB / 3.001 GB, free: 73.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/5.849, allocations: 0.6115 MB / 3.002 GB, free: 72.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/5.849, allocations: 24 kB / 3.002 GB, free: 72.55 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/5.85, allocations: 44 kB / 3.002 GB, free: 72.51 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001465/5.851, allocations: 0.9757 MB / 3.003 GB, free: 71.54 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/5.852, allocations: 0.7233 MB / 3.004 GB, free: 70.77 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/5.852, allocations: 7.953 kB / 3.004 GB, free: 70.77 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.242e-05/5.852, allocations: 3.984 kB / 3.004 GB, free: 70.76 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/5.852, allocations: 20 kB / 3.004 GB, free: 70.74 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00403/5.857, allocations: 2.266 MB / 3.006 GB, free: 68.42 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/5.858, allocations: 0.7092 MB / 3.007 GB, free: 67.68 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/5.858, allocations: 238.5 kB / 3.007 GB, free: 67.45 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-05/5.858, allocations: 28.59 kB / 3.007 GB, free: 67.42 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005693/5.859, allocations: 400.5 kB / 3.007 GB, free: 67.01 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 4.698e-06/5.859, allocations: 0 / 3.007 GB, free: 67.01 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.001589/5.86, allocations: 0.6407 MB / 3.008 GB, free: 66.36 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/5.86, allocations: 248 kB / 3.008 GB, free: 66.06 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007301/5.861, allocations: 0.4906 MB / 3.009 GB, free: 65.56 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/5.861, allocations: 25.7 kB / 3.009 GB, free: 65.53 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/5.861, allocations: 368.2 kB / 3.009 GB, free: 65.16 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/5.862, allocations: 236.5 kB / 3.009 GB, free: 64.93 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/5.862, allocations: 0 / 3.009 GB, free: 64.93 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001081/5.862, allocations: 370.8 kB / 3.01 GB, free: 64.56 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/5.862, allocations: 189.5 kB / 3.01 GB, free: 64.38 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/5.862, allocations: 283.5 kB / 3.01 GB, free: 64.07 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/5.863, allocations: 232.4 kB / 3.01 GB, free: 63.84 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/5.863, allocations: 4 kB / 3.01 GB, free: 63.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001377/5.864, allocations: 0.6407 MB / 3.011 GB, free: 63.18 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/5.864, allocations: 4 kB / 3.011 GB, free: 63.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/5.864, allocations: 4.062 kB / 3.011 GB, free: 63.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/5.865, allocations: 80.72 kB / 3.011 GB, free: 63.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/5.865, allocations: 143.8 kB / 3.011 GB, free: 62.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001749/5.867, allocations: 1.45 MB / 3.013 GB, free: 61.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006479/5.868, allocations: 63.59 kB / 3.013 GB, free: 61.32 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.054e-05/5.868, allocations: 27.97 kB / 3.013 GB, free: 61.29 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.0002108/5.868, allocations: 116.9 kB / 3.013 GB, free: 61.17 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001415/5.869, allocations: 0.6447 MB / 3.013 GB, free: 60.51 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/5.87, allocations: 75 kB / 3.014 GB, free: 60.44 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001925/5.872, allocations: 0.9103 MB / 3.014 GB, free: 59.52 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/5.872, allocations: 12 kB / 3.014 GB, free: 59.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/5.872, allocations: 0 / 3.014 GB, free: 59.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/5.872, allocations: 3.984 kB / 3.014 GB, free: 59.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/5.874, allocations: 1.687 MB / 3.016 GB, free: 57.76 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/5.874, allocations: 0 / 3.016 GB, free: 57.76 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005415/5.875, allocations: 147.8 kB / 3.016 GB, free: 57.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004795/5.875, allocations: 84.77 kB / 3.016 GB, free: 57.53 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/5.876, allocations: 11.98 kB / 3.016 GB, free: 57.52 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/5.877, allocations: 1.481 MB / 3.018 GB, free: 55.92 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/5.877, allocations: 0 / 3.018 GB, free: 55.92 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/5.878, allocations: 0.826 MB / 3.019 GB, free: 55.08 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003763/5.879, allocations: 271.9 kB / 3.019 GB, free: 54.79 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/5.879, allocations: 4 kB / 3.019 GB, free: 54.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/5.88, allocations: 47.95 kB / 3.019 GB, free: 54.74 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/5.88, allocations: 68.64 kB / 3.019 GB, free: 54.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/5.88, allocations: 27.98 kB / 3.019 GB, free: 54.65 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004925/5.88, allocations: 398.9 kB / 3.019 GB, free: 54.26 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.162e-06/5.88, allocations: 0 / 3.019 GB, free: 54.26 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001141/5.881, allocations: 342.9 kB / 3.02 GB, free: 53.93 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 (86): * Single equations (assignments): 83 * 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.003627/5.885, allocations: 2.342 MB / 3.022 GB, free: 51.66 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001169/5.886, allocations: 0.6355 MB / 3.023 GB, free: 51.02 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/5.886, allocations: 4.125 kB / 3.023 GB, free: 51.01 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006321/5.887, allocations: 448.6 kB / 3.023 GB, free: 50.57 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/5.888, allocations: 228.9 kB / 3.023 GB, free: 50.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/5.892, allocations: 1.463 MB / 3.025 GB, free: 48.84 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/5.893, allocations: 1.023 MB / 3.026 GB, free: 47.79 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008572/5.894, allocations: 253.6 kB / 3.026 GB, free: 47.54 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005102/5.894, allocations: 351.3 kB / 3.026 GB, free: 47.19 MB / 1.151 GB Notification: Performance of SimCode: time 1.352e-06/5.894, allocations: 4 kB / 3.026 GB, free: 47.19 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05935/5.954, allocations: 22.97 MB / 3.049 GB, free: 24.35 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/5.954, allocations: 209.6 kB / 3.049 GB, free: 24.07 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/8.829, allocations: 0 / 3.049 GB, free: 24.07 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat