Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 387.1 MB / 399.7 MB, free: 9.434 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.001238/0.001238, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.663/1.663, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0009317/0.0009313, allocations: 95.41 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.898e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 142.4 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.27/5.605, allocations: 1.73 GB / 2.943 GB, free: 108.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/5.606, allocations: 96.12 kB / 2.943 GB, free: 108.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.129/5.735, allocations: 58.61 MB / 3 GB, free: 55.08 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.585e-06/5.735, allocations: 4 kB / 3 GB, free: 55.07 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000106/5.735, allocations: 20 kB / 3 GB, free: 55.05 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.002402/5.737, allocations: 1.051 MB / 3.001 GB, free: 53.96 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/5.737, allocations: 8.031 kB / 3.001 GB, free: 53.95 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000283/5.738, allocations: 134.7 kB / 3.001 GB, free: 53.81 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/5.739, allocations: 182.6 kB / 3.002 GB, free: 53.63 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/5.74, allocations: 0.6114 MB / 3.002 GB, free: 52.97 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.394e-05/5.74, allocations: 61.98 kB / 3.002 GB, free: 52.91 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/5.74, allocations: 72 kB / 3.002 GB, free: 52.84 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/5.741, allocations: 0.8053 MB / 3.003 GB, free: 52 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/5.741, allocations: 0 / 3.003 GB, free: 52 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.352e-05/5.741, allocations: 36 kB / 3.003 GB, free: 51.96 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/5.742, allocations: 23.95 kB / 3.003 GB, free: 51.94 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/5.743, allocations: 1.007 MB / 3.004 GB, free: 50.93 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/5.746, allocations: 2.364 MB / 3.006 GB, free: 48.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/5.748, allocations: 0.743 MB / 3.007 GB, free: 47.72 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/5.748, allocations: 258.4 kB / 3.007 GB, free: 47.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.949e-05/5.748, allocations: 36.52 kB / 3.008 GB, free: 47.43 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005604/5.749, allocations: 389.9 kB / 3.008 GB, free: 47.03 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.956e-06/5.749, allocations: 0 / 3.008 GB, free: 47.03 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001522/5.75, allocations: 0.6716 MB / 3.009 GB, free: 46.35 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.44e-05/5.75, allocations: 243.9 kB / 3.009 GB, free: 46.05 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/5.751, allocations: 0.5659 MB / 3.009 GB, free: 45.48 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.726e-05/5.751, allocations: 41.7 kB / 3.009 GB, free: 45.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/5.751, allocations: 364.3 kB / 3.01 GB, free: 45.07 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/5.751, allocations: 228.6 kB / 3.01 GB, free: 44.84 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/5.751, allocations: 16 kB / 3.01 GB, free: 44.83 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001295/5.752, allocations: 382.8 kB / 3.01 GB, free: 44.45 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/5.752, allocations: 189.5 kB / 3.01 GB, free: 44.26 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/5.752, allocations: 297.1 kB / 3.011 GB, free: 43.94 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/5.753, allocations: 246 kB / 3.011 GB, free: 43.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/5.753, allocations: 0 / 3.011 GB, free: 43.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001377/5.754, allocations: 0.668 MB / 3.012 GB, free: 43.02 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/5.754, allocations: 4 kB / 3.012 GB, free: 43.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/5.754, allocations: 0 / 3.012 GB, free: 43.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/5.755, allocations: 80.84 kB / 3.012 GB, free: 42.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/5.755, allocations: 135.8 kB / 3.012 GB, free: 42.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/5.757, allocations: 1.516 MB / 3.013 GB, free: 41.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/5.757, allocations: 83.36 kB / 3.013 GB, free: 41.06 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/5.758, allocations: 27.98 kB / 3.013 GB, free: 41.03 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.0001471/5.758, allocations: 141 kB / 3.014 GB, free: 40.89 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/5.758, allocations: 79.02 kB / 3.014 GB, free: 40.81 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/5.76, allocations: 0.9221 MB / 3.015 GB, free: 39.88 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/5.76, allocations: 8 kB / 3.015 GB, free: 39.87 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/5.76, allocations: 0 / 3.015 GB, free: 39.87 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/5.76, allocations: 7.984 kB / 3.015 GB, free: 39.86 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/5.762, allocations: 1.804 MB / 3.016 GB, free: 37.99 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/5.763, allocations: 7.984 kB / 3.016 GB, free: 37.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/5.763, allocations: 143.7 kB / 3.016 GB, free: 37.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004791/5.764, allocations: 88.7 kB / 3.017 GB, free: 37.75 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/5.764, allocations: 23.98 kB / 3.017 GB, free: 37.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/5.765, allocations: 1.532 MB / 3.018 GB, free: 36.06 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/5.765, allocations: 4.047 kB / 3.018 GB, free: 36.05 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/5.766, allocations: 0.8415 MB / 3.019 GB, free: 35.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003898/5.767, allocations: 283.8 kB / 3.019 GB, free: 34.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/5.767, allocations: 12 kB / 3.019 GB, free: 34.89 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005583/5.768, allocations: 59.95 kB / 3.019 GB, free: 34.83 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/5.768, allocations: 64.69 kB / 3.019 GB, free: 34.77 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/5.768, allocations: 27.98 kB / 3.019 GB, free: 34.74 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005331/5.768, allocations: 475.1 kB / 3.02 GB, free: 34.28 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.9e-07/5.768, allocations: 0 / 3.02 GB, free: 34.28 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001167/5.77, allocations: 355.1 kB / 3.02 GB, free: 33.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 (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.003704/5.773, allocations: 2.315 MB / 3.022 GB, free: 31.75 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001152/5.774, allocations: 0.6591 MB / 3.023 GB, free: 31.08 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/5.774, allocations: 0 / 3.023 GB, free: 31.08 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006551/5.775, allocations: 454.9 kB / 3.023 GB, free: 30.62 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/5.776, allocations: 247.4 kB / 3.024 GB, free: 30.38 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/5.78, allocations: 1.509 MB / 3.025 GB, free: 28.83 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/5.78, allocations: 1.012 MB / 3.026 GB, free: 27.79 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008093/5.781, allocations: 249.9 kB / 3.026 GB, free: 27.55 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004902/5.782, allocations: 339.3 kB / 3.027 GB, free: 27.21 MB / 1.151 GB Notification: Performance of SimCode: time 1.383e-06/5.782, allocations: 4 kB / 3.027 GB, free: 27.21 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7081/6.49, allocations: 30.5 MB / 3.057 GB, free: 390.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/6.49, allocations: 254.2 kB / 3.057 GB, free: 390.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/9.55, allocations: 4.516 kB / 3.057 GB, free: 390.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat does not exist to compare? outputFormat=mat