Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.354/2.354, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001498/0.001498, allocations: 184.6 kB / 487.4 MB, free: 5.059 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.715/1.715, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.001009/0.001009, allocations: 115.5 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.665e-05/1.654e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3246, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.812/5.137, allocations: 1.73 GB / 2.936 GB, free: 126.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/5.137, allocations: 90.33 kB / 2.936 GB, free: 126.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1873/5.324, allocations: 58.39 MB / 2.993 GB, free: 74.11 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.615e-06/5.324, allocations: 4 kB / 2.993 GB, free: 74.11 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.666e-05/5.324, allocations: 20 kB / 2.993 GB, free: 74.09 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.002409/5.327, allocations: 1.063 MB / 2.994 GB, free: 72.98 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/5.327, allocations: 12.56 kB / 2.994 GB, free: 72.96 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/5.328, allocations: 194.4 kB / 2.994 GB, free: 72.77 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/5.329, allocations: 0.6036 MB / 2.995 GB, free: 72.13 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/5.33, allocations: 28 kB / 2.995 GB, free: 72.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/5.33, allocations: 44 kB / 2.995 GB, free: 72.06 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002032/5.332, allocations: 0.9796 MB / 2.996 GB, free: 71.08 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001648/5.333, allocations: 0.7156 MB / 2.997 GB, free: 70.32 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/5.333, allocations: 0 / 2.997 GB, free: 70.32 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/5.334, allocations: 11.94 kB / 2.997 GB, free: 70.31 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/5.334, allocations: 16 kB / 2.997 GB, free: 70.29 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004716/5.338, allocations: 2.267 MB / 2.999 GB, free: 67.97 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/5.34, allocations: 0.7139 MB / 3 GB, free: 67.23 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/5.34, allocations: 246.4 kB / 3 GB, free: 66.98 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/5.34, allocations: 28.59 kB / 3 GB, free: 66.96 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007833/5.341, allocations: 388.6 kB / 3 GB, free: 66.56 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 3.206e-06/5.341, allocations: 0 / 3 GB, free: 66.56 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.002188/5.343, allocations: 0.6485 MB / 3.001 GB, free: 65.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/5.344, allocations: 244.1 kB / 3.001 GB, free: 65.61 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009059/5.344, allocations: 498.3 kB / 3.002 GB, free: 65.11 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/5.345, allocations: 25.7 kB / 3.002 GB, free: 65.08 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/5.345, allocations: 372.2 kB / 3.002 GB, free: 64.71 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/5.345, allocations: 232.5 kB / 3.002 GB, free: 64.48 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/5.345, allocations: 0 / 3.002 GB, free: 64.48 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001386/5.345, allocations: 374.8 kB / 3.003 GB, free: 64.11 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/5.346, allocations: 185.5 kB / 3.003 GB, free: 63.92 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/5.346, allocations: 283.5 kB / 3.003 GB, free: 63.62 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005773/5.347, allocations: 236.4 kB / 3.003 GB, free: 63.39 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/5.347, allocations: 0 / 3.003 GB, free: 63.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00207/5.349, allocations: 0.6446 MB / 3.004 GB, free: 62.73 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/5.349, allocations: 4 kB / 3.004 GB, free: 62.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/5.349, allocations: 4 kB / 3.004 GB, free: 62.73 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008283/5.35, allocations: 80.84 kB / 3.004 GB, free: 62.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008636/5.351, allocations: 139.7 kB / 3.004 GB, free: 62.51 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/5.353, allocations: 1.453 MB / 3.005 GB, free: 60.93 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008303/5.354, allocations: 59.52 kB / 3.006 GB, free: 60.87 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/5.354, allocations: 27.98 kB / 3.006 GB, free: 60.84 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.0002165/5.354, allocations: 116.9 kB / 3.006 GB, free: 60.72 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001989/5.356, allocations: 0.6446 MB / 3.006 GB, free: 60.07 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/5.356, allocations: 79.06 kB / 3.006 GB, free: 59.99 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/5.359, allocations: 0.9028 MB / 3.007 GB, free: 59.07 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/5.359, allocations: 11.95 kB / 3.007 GB, free: 59.06 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/5.359, allocations: 0 / 3.007 GB, free: 59.06 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/5.359, allocations: 3.984 kB / 3.007 GB, free: 59.05 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/5.363, allocations: 1.695 MB / 3.009 GB, free: 57.31 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/5.363, allocations: 0 / 3.009 GB, free: 57.31 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/5.364, allocations: 151.8 kB / 3.009 GB, free: 57.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006955/5.365, allocations: 80.78 kB / 3.009 GB, free: 57.08 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/5.365, allocations: 15.98 kB / 3.009 GB, free: 57.07 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/5.367, allocations: 1.481 MB / 3.011 GB, free: 55.47 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/5.367, allocations: 0 / 3.011 GB, free: 55.47 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/5.369, allocations: 0.8221 MB / 3.011 GB, free: 54.62 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/5.37, allocations: 271.9 kB / 3.012 GB, free: 54.34 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/5.37, allocations: 7.938 kB / 3.012 GB, free: 54.33 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008295/5.371, allocations: 47.95 kB / 3.012 GB, free: 54.29 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/5.371, allocations: 64.64 kB / 3.012 GB, free: 54.22 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.873e-05/5.371, allocations: 35.98 kB / 3.012 GB, free: 54.18 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007097/5.372, allocations: 398.9 kB / 3.012 GB, free: 53.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.21e-07/5.372, allocations: 0 / 3.012 GB, free: 53.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001584/5.373, allocations: 334.9 kB / 3.013 GB, free: 53.47 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.00516/5.378, allocations: 2.344 MB / 3.015 GB, free: 51.21 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001729/5.38, allocations: 0.6399 MB / 3.015 GB, free: 50.56 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/5.38, allocations: 4 kB / 3.015 GB, free: 50.56 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009195/5.381, allocations: 444.5 kB / 3.016 GB, free: 50.11 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/5.383, allocations: 217.1 kB / 3.016 GB, free: 49.91 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005518/5.388, allocations: 1.474 MB / 3.018 GB, free: 48.39 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/5.389, allocations: 1.015 MB / 3.019 GB, free: 47.34 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001294/5.39, allocations: 249.6 kB / 3.019 GB, free: 47.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/5.391, allocations: 351.3 kB / 3.019 GB, free: 46.75 MB / 1.151 GB Notification: Performance of SimCode: time 1.593e-06/5.391, allocations: 0 / 3.019 GB, free: 46.75 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06869/5.46, allocations: 22.98 MB / 3.042 GB, free: 23.91 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002754/5.46, allocations: 196.6 kB / 3.042 GB, free: 23.65 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/8.181, allocations: 3.516 kB / 3.042 GB, free: 23.65 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat