Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",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.219/2.219, allocations: 390.5 MB / 398 MB, free: 10.97 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.001123/0.001123, allocations: 176.7 kB / 491.2 MB, free: 1.598 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.456/1.456, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009694/0.0009692, allocations: 102.1 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/2.001e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2317, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.178/4.409, allocations: 1.731 GB / 2.944 GB, free: 107.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/4.41, allocations: 100.3 kB / 2.944 GB, free: 107.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1412/4.551, allocations: 67.54 MB / 3.01 GB, free: 45.23 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.895e-06/4.551, allocations: 0 / 3.01 GB, free: 45.23 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.711e-05/4.551, allocations: 23.98 kB / 3.01 GB, free: 45.21 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.001834/4.553, allocations: 1.111 MB / 3.011 GB, free: 44.04 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/4.553, allocations: 8.031 kB / 3.011 GB, free: 44.04 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009688/4.554, allocations: 218.5 kB / 3.011 GB, free: 43.82 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000814/4.555, allocations: 0.6191 MB / 3.012 GB, free: 43.16 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/4.555, allocations: 32 kB / 3.012 GB, free: 43.13 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/4.555, allocations: 55.98 kB / 3.012 GB, free: 43.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001339/4.556, allocations: 1.023 MB / 3.013 GB, free: 42.05 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/4.558, allocations: 0.7733 MB / 3.013 GB, free: 41.24 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/4.558, allocations: 3.953 kB / 3.013 GB, free: 41.24 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.851e-05/4.558, allocations: 4 kB / 3.013 GB, free: 41.23 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/4.558, allocations: 24 kB / 3.013 GB, free: 41.21 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/4.561, allocations: 2.344 MB / 3.016 GB, free: 38.82 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/4.563, allocations: 0.7828 MB / 3.017 GB, free: 38.01 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/4.563, allocations: 247.1 kB / 3.017 GB, free: 37.77 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.182e-05/4.563, allocations: 36.73 kB / 3.017 GB, free: 37.73 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005119/4.564, allocations: 399.9 kB / 3.017 GB, free: 37.32 MB / 1.151 GB Notification: Performance of pre-optimization done (n=73): time 3.206e-06/4.564, allocations: 0 / 3.017 GB, free: 37.32 MB / 1.151 GB Notification: Performance of matching and sorting (n=73): time 0.001448/4.565, allocations: 0.6485 MB / 3.018 GB, free: 36.66 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/4.565, allocations: 240.1 kB / 3.018 GB, free: 36.37 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/4.566, allocations: 498.3 kB / 3.018 GB, free: 35.88 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/4.566, allocations: 25.7 kB / 3.019 GB, free: 35.85 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/4.566, allocations: 408 kB / 3.019 GB, free: 35.44 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/4.566, allocations: 232.4 kB / 3.019 GB, free: 35.21 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/4.566, allocations: 0 / 3.019 GB, free: 35.21 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001052/4.566, allocations: 370.8 kB / 3.019 GB, free: 34.84 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/4.567, allocations: 193.5 kB / 3.02 GB, free: 34.65 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/4.567, allocations: 291.5 kB / 3.02 GB, free: 34.34 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/4.567, allocations: 232.4 kB / 3.02 GB, free: 34.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/4.567, allocations: 4 kB / 3.02 GB, free: 34.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001199/4.569, allocations: 0.6369 MB / 3.021 GB, free: 33.46 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/4.569, allocations: 5.562 kB / 3.021 GB, free: 33.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/4.569, allocations: 8.062 kB / 3.021 GB, free: 33.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005683/4.569, allocations: 80.77 kB / 3.021 GB, free: 33.36 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005401/4.57, allocations: 143.8 kB / 3.021 GB, free: 33.22 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/4.571, allocations: 1.449 MB / 3.022 GB, free: 31.65 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/4.572, allocations: 63.56 kB / 3.022 GB, free: 31.59 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/4.572, allocations: 31.95 kB / 3.023 GB, free: 31.55 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.0001409/4.572, allocations: 118 kB / 3.023 GB, free: 31.43 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001205/4.573, allocations: 0.6486 MB / 3.023 GB, free: 30.77 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/4.573, allocations: 75.09 kB / 3.023 GB, free: 30.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/4.575, allocations: 0.9025 MB / 3.024 GB, free: 29.79 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/4.575, allocations: 8 kB / 3.024 GB, free: 29.78 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/4.575, allocations: 0 / 3.024 GB, free: 29.78 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/4.575, allocations: 11.98 kB / 3.024 GB, free: 29.77 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002319/4.577, allocations: 1.703 MB / 3.026 GB, free: 28.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/4.577, allocations: 4 kB / 3.026 GB, free: 28.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/4.578, allocations: 143.8 kB / 3.026 GB, free: 27.87 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004486/4.578, allocations: 84.77 kB / 3.026 GB, free: 27.79 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/4.578, allocations: 19.98 kB / 3.026 GB, free: 27.77 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/4.58, allocations: 1.469 MB / 3.028 GB, free: 26.18 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/4.58, allocations: 0 / 3.028 GB, free: 26.18 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/4.581, allocations: 0.826 MB / 3.028 GB, free: 25.33 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/4.581, allocations: 271.9 kB / 3.029 GB, free: 25.05 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/4.581, allocations: 11.94 kB / 3.029 GB, free: 25.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/4.582, allocations: 51.95 kB / 3.029 GB, free: 24.98 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/4.582, allocations: 60.62 kB / 3.029 GB, free: 24.93 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.013e-05/4.582, allocations: 31.98 kB / 3.029 GB, free: 24.89 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003637/4.582, allocations: 402.9 kB / 3.029 GB, free: 24.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/4.582, allocations: 3.938 kB / 3.029 GB, free: 24.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009875/4.583, allocations: 350.8 kB / 3.03 GB, free: 24.16 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 (85): * Single equations (assignments): 82 * 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.003154/4.587, allocations: 2.351 MB / 3.032 GB, free: 21.89 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001005/4.588, allocations: 0.6473 MB / 3.032 GB, free: 21.23 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/4.588, allocations: 0 / 3.032 GB, free: 21.23 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005703/4.588, allocations: 440.6 kB / 3.033 GB, free: 20.79 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/4.589, allocations: 222.6 kB / 3.033 GB, free: 20.57 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003513/4.593, allocations: 1.518 MB / 3.035 GB, free: 19.01 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/4.593, allocations: 1.042 MB / 3.036 GB, free: 17.94 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008282/4.594, allocations: 249.8 kB / 3.036 GB, free: 17.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004571/4.595, allocations: 367.3 kB / 3.036 GB, free: 17.34 MB / 1.151 GB Notification: Performance of SimCode: time 7.11e-07/4.595, allocations: 4 kB / 3.036 GB, free: 17.33 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8037/5.398, allocations: 23.26 MB / 3.059 GB, free: 389 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/5.399, allocations: 218.2 kB / 3.059 GB, free: 388.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/8.846, allocations: 0 / 3.059 GB, free: 388.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat does not exist to compare? outputFormat=mat