Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.317/2.317, allocations: 390.5 MB / 398 MB, free: 10.95 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.00109/0.00109, allocations: 180.8 kB / 491.2 MB, free: 1.566 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.535/1.535, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009559/0.0009559, allocations: 91.83 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.436e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.318, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.34/5.658, allocations: 1.732 GB / 2.945 GB, free: 105.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/5.658, allocations: 102.8 kB / 2.945 GB, free: 105.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1464/5.805, allocations: 68.84 MB / 3.012 GB, free: 41.79 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.983e-06/5.805, allocations: 0 / 3.012 GB, free: 41.79 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001094/5.805, allocations: 28 kB / 3.012 GB, free: 41.76 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002687/5.808, allocations: 1.147 MB / 3.013 GB, free: 40.56 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/5.808, allocations: 12.03 kB / 3.013 GB, free: 40.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/5.809, allocations: 202.4 kB / 3.014 GB, free: 40.35 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/5.81, allocations: 0.6463 MB / 3.014 GB, free: 39.66 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.061e-05/5.81, allocations: 32 kB / 3.014 GB, free: 39.63 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/5.81, allocations: 59.92 kB / 3.014 GB, free: 39.57 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001431/5.811, allocations: 1.066 MB / 3.015 GB, free: 38.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/5.813, allocations: 0.8169 MB / 3.016 GB, free: 37.65 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/5.813, allocations: 3.953 kB / 3.016 GB, free: 37.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/5.813, allocations: 4 kB / 3.016 GB, free: 37.64 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/5.813, allocations: 27.94 kB / 3.016 GB, free: 37.61 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/5.816, allocations: 2.602 MB / 3.019 GB, free: 34.95 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009599/5.817, allocations: 0.6995 MB / 3.019 GB, free: 34.24 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/5.818, allocations: 271.2 kB / 3.02 GB, free: 33.97 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.591e-05/5.818, allocations: 36.67 kB / 3.02 GB, free: 33.94 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005661/5.818, allocations: 411.8 kB / 3.02 GB, free: 33.52 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 3.928e-06/5.818, allocations: 0 / 3.02 GB, free: 33.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.003194/5.822, allocations: 0.8865 MB / 3.021 GB, free: 32.62 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/5.822, allocations: 244.1 kB / 3.021 GB, free: 32.32 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005657/5.822, allocations: 0.5063 MB / 3.022 GB, free: 31.81 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/5.822, allocations: 29.7 kB / 3.022 GB, free: 31.78 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/5.823, allocations: 416.1 kB / 3.022 GB, free: 31.36 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/5.823, allocations: 264.1 kB / 3.022 GB, free: 31.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/5.823, allocations: 0 / 3.022 GB, free: 31.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001041/5.823, allocations: 378.7 kB / 3.023 GB, free: 30.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/5.823, allocations: 205.5 kB / 3.023 GB, free: 30.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/5.824, allocations: 319.5 kB / 3.023 GB, free: 30.18 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001884/5.826, allocations: 448.1 kB / 3.024 GB, free: 29.74 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/5.826, allocations: 4 kB / 3.024 GB, free: 29.74 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002866/5.828, allocations: 0.8866 MB / 3.024 GB, free: 28.84 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/5.828, allocations: 8 kB / 3.024 GB, free: 28.83 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/5.828, allocations: 3.938 kB / 3.024 GB, free: 28.83 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/5.829, allocations: 80.83 kB / 3.025 GB, free: 28.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006177/5.83, allocations: 159.8 kB / 3.025 GB, free: 28.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/5.831, allocations: 1.445 MB / 3.026 GB, free: 27.02 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006127/5.832, allocations: 67.38 kB / 3.026 GB, free: 26.95 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.894e-05/5.832, allocations: 31.94 kB / 3.026 GB, free: 26.92 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 (84): * Single equations (assignments): 83 * 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.0001678/5.832, allocations: 126.7 kB / 3.026 GB, free: 26.79 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002904/5.835, allocations: 0.8865 MB / 3.027 GB, free: 25.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/5.835, allocations: 83 kB / 3.027 GB, free: 25.82 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003608/5.839, allocations: 1.173 MB / 3.028 GB, free: 24.63 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/5.839, allocations: 11.98 kB / 3.028 GB, free: 24.62 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/5.839, allocations: 8 kB / 3.028 GB, free: 24.61 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.397e-05/5.839, allocations: 11.92 kB / 3.028 GB, free: 24.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004464/5.843, allocations: 2.007 MB / 3.03 GB, free: 22.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/5.843, allocations: 4 kB / 3.03 GB, free: 22.54 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/5.844, allocations: 159.8 kB / 3.031 GB, free: 22.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/5.845, allocations: 80.78 kB / 3.031 GB, free: 22.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/5.845, allocations: 15.98 kB / 3.031 GB, free: 22.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/5.846, allocations: 1.484 MB / 3.032 GB, free: 20.68 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/5.846, allocations: 0 / 3.032 GB, free: 20.68 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002974/5.849, allocations: 1.064 MB / 3.033 GB, free: 19.59 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/5.849, allocations: 295.7 kB / 3.033 GB, free: 19.28 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/5.849, allocations: 4 kB / 3.033 GB, free: 19.28 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/5.85, allocations: 55.94 kB / 3.034 GB, free: 19.22 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/5.85, allocations: 60.69 kB / 3.034 GB, free: 19.16 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.819e-05/5.85, allocations: 31.98 kB / 3.034 GB, free: 19.13 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004749/5.851, allocations: 439.1 kB / 3.034 GB, free: 18.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/5.851, allocations: 0 / 3.034 GB, free: 18.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001147/5.852, allocations: 362.9 kB / 3.034 GB, free: 18.35 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 (94): * Single equations (assignments): 91 * 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.005015/5.857, allocations: 2.623 MB / 3.037 GB, free: 15.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001216/5.858, allocations: 0.6941 MB / 3.038 GB, free: 15.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/5.858, allocations: 0 / 3.038 GB, free: 15.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006174/5.859, allocations: 468.7 kB / 3.038 GB, free: 14.64 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/5.86, allocations: 217.6 kB / 3.038 GB, free: 14.43 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004013/5.864, allocations: 1.615 MB / 3.04 GB, free: 12.77 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/5.864, allocations: 1.058 MB / 3.041 GB, free: 11.68 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008401/5.865, allocations: 270.1 kB / 3.041 GB, free: 11.41 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/5.866, allocations: 407.3 kB / 3.042 GB, free: 11.02 MB / 1.151 GB Notification: Performance of SimCode: time 1.903e-06/5.866, allocations: 0 / 3.042 GB, free: 11.02 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6872/6.553, allocations: 24.55 MB / 3.065 GB, free: 387 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/6.553, allocations: 212.7 kB / 3.066 GB, free: 386.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/9.506, allocations: 0 / 3.066 GB, free: 386.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat does not exist to compare? outputFormat=mat