Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.323/2.323, allocations: 390.5 MB / 398 MB, free: 10.96 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.001243/0.001243, allocations: 169 kB / 491.2 MB, free: 1.602 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.626/1.626, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009136/0.0009135, allocations: 95.02 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.973e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.728/4.018, allocations: 1.732 GB / 2.944 GB, free: 118.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/4.018, allocations: 96.03 kB / 2.944 GB, free: 118.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1374/4.156, allocations: 67.22 MB / 3.01 GB, free: 56.92 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.963e-06/4.156, allocations: 3.984 kB / 3.01 GB, free: 56.92 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.315e-05/4.156, allocations: 27.94 kB / 3.01 GB, free: 56.89 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.001704/4.158, allocations: 1.127 MB / 3.011 GB, free: 55.71 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/4.158, allocations: 8.031 kB / 3.011 GB, free: 55.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/4.159, allocations: 218.5 kB / 3.011 GB, free: 55.48 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/4.16, allocations: 0.6269 MB / 3.012 GB, free: 54.82 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/4.16, allocations: 32 kB / 3.012 GB, free: 54.79 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.44e-05/4.16, allocations: 48 kB / 3.012 GB, free: 54.74 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001234/4.161, allocations: 1.03 MB / 3.013 GB, free: 53.71 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/4.162, allocations: 0.7858 MB / 3.013 GB, free: 52.88 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/4.162, allocations: 3.953 kB / 3.013 GB, free: 52.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/4.162, allocations: 0 / 3.013 GB, free: 52.88 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/4.162, allocations: 24 kB / 3.014 GB, free: 52.86 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/4.165, allocations: 2.422 MB / 3.016 GB, free: 50.38 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008432/4.166, allocations: 0.7339 MB / 3.017 GB, free: 49.61 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/4.166, allocations: 243.1 kB / 3.017 GB, free: 49.38 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005164/4.167, allocations: 474.7 kB / 3.017 GB, free: 48.82 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004881/4.167, allocations: 399.7 kB / 3.018 GB, free: 48.41 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 2.114e-06/4.167, allocations: 0 / 3.018 GB, free: 48.41 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.003916/4.171, allocations: 1.187 MB / 3.019 GB, free: 47.21 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/4.171, allocations: 244.1 kB / 3.019 GB, free: 46.92 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004991/4.172, allocations: 0.4944 MB / 3.02 GB, free: 46.42 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/4.172, allocations: 25.7 kB / 3.02 GB, free: 46.39 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/4.172, allocations: 404 kB / 3.02 GB, free: 45.98 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/4.172, allocations: 232.5 kB / 3.02 GB, free: 45.75 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/4.172, allocations: 0 / 3.02 GB, free: 45.75 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/4.172, allocations: 374.8 kB / 3.021 GB, free: 45.38 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/4.173, allocations: 185.5 kB / 3.021 GB, free: 45.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/4.173, allocations: 291.5 kB / 3.021 GB, free: 44.88 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/4.176, allocations: 0.7734 MB / 3.022 GB, free: 44.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/4.176, allocations: 0 / 3.022 GB, free: 44.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003795/4.18, allocations: 1.191 MB / 3.023 GB, free: 42.91 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/4.18, allocations: 8 kB / 3.023 GB, free: 42.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/4.18, allocations: 0 / 3.023 GB, free: 42.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005555/4.18, allocations: 80.81 kB / 3.023 GB, free: 42.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/4.181, allocations: 143.7 kB / 3.023 GB, free: 42.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/4.182, allocations: 1.457 MB / 3.025 GB, free: 41.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006051/4.183, allocations: 63.48 kB / 3.025 GB, free: 41.03 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/4.183, allocations: 23.98 kB / 3.025 GB, free: 41.01 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 (75): * Single equations (assignments): 74 * 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.000163/4.183, allocations: 131.2 kB / 3.025 GB, free: 40.88 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003932/4.187, allocations: 1.191 MB / 3.026 GB, free: 39.67 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/4.187, allocations: 67.16 kB / 3.026 GB, free: 39.61 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/4.192, allocations: 1.441 MB / 3.027 GB, free: 38.15 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/4.192, allocations: 11.94 kB / 3.027 GB, free: 38.14 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/4.192, allocations: 0 / 3.027 GB, free: 38.14 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/4.192, allocations: 3.984 kB / 3.027 GB, free: 38.14 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/4.197, allocations: 2.252 MB / 3.03 GB, free: 35.83 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/4.197, allocations: 0 / 3.03 GB, free: 35.83 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005611/4.197, allocations: 147.8 kB / 3.03 GB, free: 35.69 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/4.198, allocations: 84.77 kB / 3.03 GB, free: 35.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/4.198, allocations: 15.98 kB / 3.03 GB, free: 35.59 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/4.199, allocations: 1.477 MB / 3.031 GB, free: 33.99 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/4.199, allocations: 3.953 kB / 3.031 GB, free: 33.99 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003901/4.203, allocations: 1.353 MB / 3.033 GB, free: 32.62 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/4.203, allocations: 275.8 kB / 3.033 GB, free: 32.33 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/4.204, allocations: 11.95 kB / 3.033 GB, free: 32.32 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/4.204, allocations: 55.94 kB / 3.033 GB, free: 32.26 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.828e-05/4.204, allocations: 52.7 kB / 3.033 GB, free: 32.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.584e-05/4.204, allocations: 40.05 kB / 3.033 GB, free: 32.17 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003937/4.205, allocations: 406.8 kB / 3.033 GB, free: 31.78 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/4.205, allocations: 0 / 3.033 GB, free: 31.78 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001091/4.206, allocations: 358.9 kB / 3.034 GB, free: 31.43 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 (84): * Single equations (assignments): 81 * 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.005874/4.212, allocations: 2.906 MB / 3.037 GB, free: 28.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001069/4.213, allocations: 0.6471 MB / 3.037 GB, free: 27.94 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/4.213, allocations: 4.125 kB / 3.037 GB, free: 27.94 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005788/4.213, allocations: 448.5 kB / 3.038 GB, free: 27.49 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/4.214, allocations: 211 kB / 3.038 GB, free: 27.29 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/4.218, allocations: 1.539 MB / 3.039 GB, free: 25.71 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/4.218, allocations: 1.036 MB / 3.04 GB, free: 24.64 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008181/4.219, allocations: 269.6 kB / 3.041 GB, free: 24.38 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/4.22, allocations: 375.3 kB / 3.041 GB, free: 24.01 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/4.22, allocations: 0 / 3.041 GB, free: 24.01 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04816/4.268, allocations: 23.42 MB / 3.064 GB, free: 0.7422 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/4.268, allocations: 223.3 kB / 3.064 GB, free: 456 kB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.807/7.075, allocations: 3.875 kB / 3.064 GB, free: 456 kB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat does not exist to compare? outputFormat=mat