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.349/2.349, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001383/0.001383, allocations: 184.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.000976/0.0009762, allocations: 99.83 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.969e-05/3.972e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3378, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.203/5.541, allocations: 1.731 GB / 2.95 GB, free: 47.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/5.542, allocations: 92.81 kB / 2.95 GB, free: 47.31 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.898/6.44, allocations: 59.23 MB / 3.008 GB, free: 391.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.685e-06/6.44, allocations: 0 / 3.008 GB, free: 391.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002287/6.44, allocations: 27.22 kB / 3.008 GB, free: 391.6 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.003998/6.444, allocations: 1.063 MB / 3.009 GB, free: 391 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.712e-05/6.444, allocations: 10.11 kB / 3.009 GB, free: 391 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003251/6.444, allocations: 125.1 kB / 3.009 GB, free: 391 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/6.445, allocations: 183.7 kB / 3.01 GB, free: 390.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/6.447, allocations: 0.6129 MB / 3.01 GB, free: 390.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.199e-05/6.447, allocations: 61.48 kB / 3.01 GB, free: 390.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/6.447, allocations: 76 kB / 3.01 GB, free: 390.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/6.449, allocations: 0.8336 MB / 3.011 GB, free: 390.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/6.449, allocations: 1.438 kB / 3.011 GB, free: 390.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/6.449, allocations: 36.38 kB / 3.011 GB, free: 390.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/6.449, allocations: 22.62 kB / 3.011 GB, free: 390.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/6.451, allocations: 1.024 MB / 3.012 GB, free: 390.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00439/6.455, allocations: 2.416 MB / 3.014 GB, free: 389.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/6.456, allocations: 0.7643 MB / 3.015 GB, free: 389.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000441/6.457, allocations: 257 kB / 3.015 GB, free: 389.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.977e-05/6.457, allocations: 34.25 kB / 3.016 GB, free: 389.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007839/6.458, allocations: 404.9 kB / 3.016 GB, free: 389.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 3.016e-06/6.458, allocations: 0 / 3.016 GB, free: 389.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.001953/6.46, allocations: 0.6882 MB / 3.017 GB, free: 389.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/6.46, allocations: 244.2 kB / 3.017 GB, free: 389.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000934/6.461, allocations: 0.5779 MB / 3.017 GB, free: 389 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/6.461, allocations: 42.45 kB / 3.017 GB, free: 389 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/6.461, allocations: 373.7 kB / 3.018 GB, free: 388.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/6.461, allocations: 232.4 kB / 3.018 GB, free: 388.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/6.461, allocations: 13.12 kB / 3.018 GB, free: 388.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001418/6.462, allocations: 380.4 kB / 3.018 GB, free: 388.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/6.462, allocations: 195.8 kB / 3.019 GB, free: 388.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/6.462, allocations: 310.3 kB / 3.019 GB, free: 388.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/6.463, allocations: 239.8 kB / 3.019 GB, free: 388.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/6.463, allocations: 1.375 kB / 3.019 GB, free: 388.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001614/6.464, allocations: 0.6888 MB / 3.02 GB, free: 388.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/6.465, allocations: 9.281 kB / 3.02 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/6.465, allocations: 1.984 kB / 3.02 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006112/6.465, allocations: 81.64 kB / 3.02 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/6.466, allocations: 138.6 kB / 3.02 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/6.468, allocations: 1.519 MB / 3.021 GB, free: 386.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006766/6.468, allocations: 78.25 kB / 3.022 GB, free: 386.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/6.468, allocations: 28.98 kB / 3.022 GB, free: 386.9 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.0001786/6.469, allocations: 146.1 kB / 3.022 GB, free: 386.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/6.469, allocations: 83.48 kB / 3.022 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/6.471, allocations: 0.9666 MB / 3.023 GB, free: 386.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/6.471, allocations: 9.031 kB / 3.023 GB, free: 386.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/6.471, allocations: 4.547 kB / 3.023 GB, free: 386.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/6.471, allocations: 4.906 kB / 3.023 GB, free: 386.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/6.475, allocations: 1.86 MB / 3.025 GB, free: 386.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/6.475, allocations: 0 / 3.025 GB, free: 386.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/6.475, allocations: 150.9 kB / 3.025 GB, free: 386.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005191/6.476, allocations: 84.17 kB / 3.025 GB, free: 386.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/6.476, allocations: 23 kB / 3.025 GB, free: 386.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/6.477, allocations: 1.544 MB / 3.026 GB, free: 384.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/6.477, allocations: 0 / 3.026 GB, free: 384.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/6.479, allocations: 0.8665 MB / 3.027 GB, free: 384.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005297/6.48, allocations: 287.8 kB / 3.027 GB, free: 384.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/6.48, allocations: 15.78 kB / 3.027 GB, free: 384.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/6.481, allocations: 65.48 kB / 3.028 GB, free: 384.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/6.481, allocations: 59.33 kB / 3.028 GB, free: 384.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.703e-05/6.481, allocations: 34.11 kB / 3.028 GB, free: 384.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006952/6.482, allocations: 480.4 kB / 3.028 GB, free: 384.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.41e-07/6.482, allocations: 1.219 kB / 3.028 GB, free: 384.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001354/6.483, allocations: 361 kB / 3.028 GB, free: 384.4 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.003988/6.487, allocations: 2.339 MB / 3.031 GB, free: 383.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001556/6.489, allocations: 0.6765 MB / 3.031 GB, free: 383.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/6.489, allocations: 3.469 kB / 3.031 GB, free: 383.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008507/6.489, allocations: 473.5 kB / 3.032 GB, free: 383.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/6.491, allocations: 244.7 kB / 3.032 GB, free: 383 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/6.495, allocations: 1.549 MB / 3.034 GB, free: 382.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/6.495, allocations: 1.027 MB / 3.035 GB, free: 381.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009145/6.496, allocations: 255.6 kB / 3.035 GB, free: 381.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/6.497, allocations: 356 kB / 3.035 GB, free: 381.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.142e-06/6.497, allocations: 0 / 3.035 GB, free: 381.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0811/6.578, allocations: 30.87 MB / 3.065 GB, free: 377.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/6.578, allocations: 259.7 kB / 3.066 GB, free: 376.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/9.472, allocations: 2.031 kB / 3.066 GB, free: 376.8 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