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.24/2.24, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001269/0.001269, allocations: 180.8 kB / 496.1 MB, free: 12.89 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.613/1.613, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.0009667/0.0009667, allocations: 91.94 kB / 0.9317 GB, free: 5.754 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.429e-05/5.456e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3704, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.232/5.603, allocations: 1.731 GB / 2.95 GB, free: 104.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003498/5.603, allocations: 95.27 kB / 2.95 GB, free: 104.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1386/5.742, allocations: 58.62 MB / 3.007 GB, free: 45.58 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.609e-06/5.742, allocations: 0 / 3.007 GB, free: 45.58 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001502/5.742, allocations: 20 kB / 3.007 GB, free: 45.56 MB / 1.167 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.0033/5.745, allocations: 1.048 MB / 3.008 GB, free: 44.46 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/5.745, allocations: 11.97 kB / 3.008 GB, free: 44.45 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003784/5.746, allocations: 126.8 kB / 3.009 GB, free: 44.32 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/5.747, allocations: 178.6 kB / 3.009 GB, free: 44.14 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/5.749, allocations: 0.6114 MB / 3.009 GB, free: 43.49 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.207e-05/5.749, allocations: 58 kB / 3.009 GB, free: 43.43 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/5.749, allocations: 80 kB / 3.01 GB, free: 43.36 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/5.751, allocations: 0.7975 MB / 3.01 GB, free: 42.52 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/5.751, allocations: 7.984 kB / 3.01 GB, free: 42.51 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/5.751, allocations: 35.95 kB / 3.01 GB, free: 42.48 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/5.751, allocations: 20 kB / 3.01 GB, free: 42.46 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/5.753, allocations: 1.011 MB / 3.011 GB, free: 41.44 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004577/5.757, allocations: 2.371 MB / 3.014 GB, free: 39 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/5.758, allocations: 0.7515 MB / 3.014 GB, free: 38.21 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/5.759, allocations: 250.5 kB / 3.015 GB, free: 37.97 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/5.759, allocations: 28.59 kB / 3.015 GB, free: 37.94 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006078/5.76, allocations: 394.8 kB / 3.015 GB, free: 37.54 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 4.138e-06/5.76, allocations: 4 kB / 3.015 GB, free: 37.54 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.001748/5.761, allocations: 0.6591 MB / 3.016 GB, free: 36.86 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/5.761, allocations: 239.9 kB / 3.016 GB, free: 36.57 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008574/5.762, allocations: 0.5775 MB / 3.016 GB, free: 35.99 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.678e-05/5.762, allocations: 41.7 kB / 3.017 GB, free: 35.95 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/5.763, allocations: 364.4 kB / 3.017 GB, free: 35.58 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/5.763, allocations: 228.6 kB / 3.017 GB, free: 35.36 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/5.763, allocations: 16 kB / 3.017 GB, free: 35.34 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001438/5.763, allocations: 374.9 kB / 3.017 GB, free: 34.96 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/5.763, allocations: 197.5 kB / 3.018 GB, free: 34.77 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/5.764, allocations: 301.1 kB / 3.018 GB, free: 34.45 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/5.764, allocations: 234 kB / 3.018 GB, free: 34.21 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/5.764, allocations: 0 / 3.018 GB, free: 34.21 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001473/5.766, allocations: 0.668 MB / 3.019 GB, free: 33.54 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/5.766, allocations: 8 kB / 3.019 GB, free: 33.53 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/5.766, allocations: 0 / 3.019 GB, free: 33.53 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/5.766, allocations: 84.83 kB / 3.019 GB, free: 33.45 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/5.767, allocations: 131.8 kB / 3.019 GB, free: 33.32 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/5.769, allocations: 1.525 MB / 3.02 GB, free: 31.65 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006874/5.769, allocations: 79.41 kB / 3.021 GB, free: 31.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/5.77, allocations: 27.98 kB / 3.021 GB, free: 31.55 MB / 1.167 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.0001805/5.77, allocations: 140.8 kB / 3.021 GB, free: 31.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/5.77, allocations: 75.06 kB / 3.021 GB, free: 31.33 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/5.772, allocations: 0.93 MB / 3.022 GB, free: 30.38 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/5.772, allocations: 11.94 kB / 3.022 GB, free: 30.37 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/5.772, allocations: 0 / 3.022 GB, free: 30.37 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/5.772, allocations: 3.984 kB / 3.022 GB, free: 30.37 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002918/5.775, allocations: 1.808 MB / 3.023 GB, free: 28.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/5.775, allocations: 0 / 3.023 GB, free: 28.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/5.775, allocations: 143.8 kB / 3.024 GB, free: 28.36 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004757/5.776, allocations: 80.78 kB / 3.024 GB, free: 28.28 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/5.776, allocations: 23.97 kB / 3.024 GB, free: 28.25 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/5.777, allocations: 1.54 MB / 3.025 GB, free: 26.57 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/5.778, allocations: 4.062 kB / 3.025 GB, free: 26.57 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/5.779, allocations: 0.8454 MB / 3.026 GB, free: 25.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/5.779, allocations: 275.8 kB / 3.026 GB, free: 25.41 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.475e-05/5.779, allocations: 16 kB / 3.026 GB, free: 25.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/5.78, allocations: 67.94 kB / 3.026 GB, free: 25.33 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/5.78, allocations: 56.7 kB / 3.026 GB, free: 25.28 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-05/5.78, allocations: 31.92 kB / 3.026 GB, free: 25.25 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005617/5.781, allocations: 471.1 kB / 3.027 GB, free: 24.79 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/5.781, allocations: 4 kB / 3.027 GB, free: 24.79 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001168/5.782, allocations: 351.2 kB / 3.027 GB, free: 24.45 MB / 1.167 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.003537/5.785, allocations: 2.32 MB / 3.03 GB, free: 22.25 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001134/5.787, allocations: 0.6633 MB / 3.03 GB, free: 21.57 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/5.787, allocations: 0 / 3.03 GB, free: 21.57 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006089/5.787, allocations: 455.1 kB / 3.031 GB, free: 21.11 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/5.788, allocations: 238.2 kB / 3.031 GB, free: 20.89 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/5.792, allocations: 1.52 MB / 3.032 GB, free: 19.32 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/5.792, allocations: 1.009 MB / 3.033 GB, free: 18.29 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007114/5.793, allocations: 250 kB / 3.034 GB, free: 18.05 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/5.793, allocations: 343.3 kB / 3.034 GB, free: 17.71 MB / 1.167 GB Notification: Performance of SimCode: time 5.31e-07/5.793, allocations: 0 / 3.034 GB, free: 17.71 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7368/6.53, allocations: 30.49 MB / 3.064 GB, free: 397.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002148/6.53, allocations: 266.8 kB / 3.064 GB, free: 397.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/9.639, allocations: 0 / 3.064 GB, free: 397.4 MB / 1.167 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