Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.687/2.687, allocations: 390.5 MB / 398 MB, free: 10.98 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.001144/0.001144, allocations: 174.8 kB / 491.2 MB, free: 1.594 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.644/1.644, allocations: 221.5 MB / 0.7868 GB, free: 13.37 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.000921/0.0009216, allocations: 87.59 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.002e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.349, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.429/5.778, allocations: 1.731 GB / 2.943 GB, free: 107.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/5.778, allocations: 94.25 kB / 2.943 GB, free: 107.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1224/5.901, allocations: 57.78 MB / 3 GB, free: 55.06 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.864e-06/5.901, allocations: 4 kB / 3 GB, free: 55.05 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.193e-05/5.901, allocations: 23.94 kB / 3 GB, free: 55.03 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001987/5.903, allocations: 1.055 MB / 3.001 GB, free: 53.93 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/5.903, allocations: 8.031 kB / 3.001 GB, free: 53.92 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/5.904, allocations: 186.6 kB / 3.001 GB, free: 53.73 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/5.905, allocations: 0.5997 MB / 3.001 GB, free: 53.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/5.905, allocations: 24 kB / 3.001 GB, free: 53.07 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/5.905, allocations: 44 kB / 3.001 GB, free: 53.03 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001304/5.906, allocations: 0.9601 MB / 3.002 GB, free: 52.07 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/5.908, allocations: 0.6998 MB / 3.003 GB, free: 51.33 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/5.908, allocations: 3.953 kB / 3.003 GB, free: 51.33 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.212e-05/5.908, allocations: 4 kB / 3.003 GB, free: 51.32 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/5.908, allocations: 20 kB / 3.003 GB, free: 51.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003247/5.911, allocations: 2.224 MB / 3.005 GB, free: 49.02 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009274/5.912, allocations: 0.7027 MB / 3.006 GB, free: 48.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/5.912, allocations: 234.5 kB / 3.006 GB, free: 48.06 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.9e-05/5.912, allocations: 24.61 kB / 3.006 GB, free: 48.04 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005032/5.913, allocations: 376.8 kB / 3.007 GB, free: 47.64 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.905e-06/5.913, allocations: 0 / 3.007 GB, free: 47.64 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001389/5.914, allocations: 0.6288 MB / 3.007 GB, free: 47.01 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/5.914, allocations: 243.9 kB / 3.007 GB, free: 46.71 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/5.915, allocations: 498.2 kB / 3.008 GB, free: 46.22 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/5.915, allocations: 25.7 kB / 3.008 GB, free: 46.19 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/5.915, allocations: 368.3 kB / 3.008 GB, free: 45.82 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/5.915, allocations: 224.6 kB / 3.008 GB, free: 45.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/5.915, allocations: 0 / 3.008 GB, free: 45.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/5.915, allocations: 378.8 kB / 3.009 GB, free: 45.22 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/5.916, allocations: 181.5 kB / 3.009 GB, free: 45.05 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/5.916, allocations: 283.5 kB / 3.009 GB, free: 44.74 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/5.916, allocations: 224.5 kB / 3.009 GB, free: 44.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/5.916, allocations: 0 / 3.009 GB, free: 44.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001274/5.918, allocations: 0.6173 MB / 3.01 GB, free: 43.89 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/5.918, allocations: 17.42 kB / 3.01 GB, free: 43.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/5.918, allocations: 0 / 3.01 GB, free: 43.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005687/5.918, allocations: 88.7 kB / 3.01 GB, free: 43.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005051/5.919, allocations: 127.9 kB / 3.01 GB, free: 43.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/5.92, allocations: 1.446 MB / 3.012 GB, free: 42.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/5.921, allocations: 67.58 kB / 3.012 GB, free: 42.02 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/5.921, allocations: 23.98 kB / 3.012 GB, free: 42 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 (72): * Single equations (assignments): 71 * 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.0001594/5.921, allocations: 122.5 kB / 3.012 GB, free: 41.87 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00124/5.922, allocations: 0.6239 MB / 3.012 GB, free: 41.24 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/5.922, allocations: 71.16 kB / 3.013 GB, free: 41.17 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/5.924, allocations: 0.8712 MB / 3.013 GB, free: 40.29 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/5.924, allocations: 15.92 kB / 3.013 GB, free: 40.27 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/5.924, allocations: 3.953 kB / 3.013 GB, free: 40.27 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/5.924, allocations: 3.984 kB / 3.013 GB, free: 40.26 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/5.927, allocations: 1.641 MB / 3.015 GB, free: 38.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/5.927, allocations: 0 / 3.015 GB, free: 38.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/5.927, allocations: 139.8 kB / 3.015 GB, free: 38.44 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/5.928, allocations: 84.77 kB / 3.015 GB, free: 38.35 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/5.928, allocations: 19.98 kB / 3.015 GB, free: 38.33 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/5.929, allocations: 1.477 MB / 3.017 GB, free: 36.73 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/5.929, allocations: 0 / 3.017 GB, free: 36.73 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/5.931, allocations: 0.7948 MB / 3.017 GB, free: 35.92 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/5.931, allocations: 275.8 kB / 3.018 GB, free: 35.63 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/5.931, allocations: 0 / 3.018 GB, free: 35.63 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/5.932, allocations: 51.95 kB / 3.018 GB, free: 35.58 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/5.932, allocations: 60.69 kB / 3.018 GB, free: 35.52 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.312e-05/5.932, allocations: 23.98 kB / 3.018 GB, free: 35.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004804/5.932, allocations: 398.9 kB / 3.018 GB, free: 35.11 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.932, allocations: 0 / 3.018 GB, free: 35.11 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001237/5.934, allocations: 323.1 kB / 3.019 GB, free: 34.79 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 (81): * Single equations (assignments): 78 * 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.003811/5.937, allocations: 2.326 MB / 3.021 GB, free: 32.55 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001204/5.939, allocations: 0.6164 MB / 3.021 GB, free: 31.92 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/5.939, allocations: 128 / 3.021 GB, free: 31.92 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006224/5.939, allocations: 444.5 kB / 3.022 GB, free: 31.48 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/5.94, allocations: 218.6 kB / 3.022 GB, free: 31.27 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/5.944, allocations: 1.443 MB / 3.023 GB, free: 29.78 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/5.945, allocations: 1.009 MB / 3.024 GB, free: 28.75 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008838/5.946, allocations: 245.6 kB / 3.025 GB, free: 28.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004666/5.946, allocations: 339.3 kB / 3.025 GB, free: 28.17 MB / 1.151 GB Notification: Performance of SimCode: time 2.405e-06/5.946, allocations: 0 / 3.025 GB, free: 28.17 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04881/5.995, allocations: 22.64 MB / 3.047 GB, free: 5.664 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/5.995, allocations: 210.1 kB / 3.047 GB, free: 5.379 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/8.787, allocations: 0 / 3.047 GB, free: 5.379 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat does not exist to compare? outputFormat=mat