Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8267, allocations: 142.3 MB / 0.9538 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.004251/0.831, allocations: 3.773 MB / 0.9575 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1641/0.9951, allocations: 136.8 MB / 1.091 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007966/0.996, allocations: 15.94 kB / 1.091 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000573/0.9966, allocations: 126.9 kB / 1.091 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.9982, allocations: 416.7 kB / 1.092 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/1, allocations: 0.6373 MB / 1.092 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001302/1.001, allocations: 1.133 MB / 1.093 GB, free: 0.8906 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007687/1.002, allocations: 0.5461 MB / 1.094 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/1.003, allocations: 330.5 kB / 1.094 GB, free: 16 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/1.003, allocations: 377.9 kB / 1.095 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.77e-05/1.003, allocations: 24 kB / 1.095 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008485/1.004, allocations: 343.7 kB / 1.095 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/1.004, allocations: 187.1 kB / 1.095 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/1.005, allocations: 213 kB / 1.095 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/1.006, allocations: 1.22 MB / 1.097 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/1.006, allocations: 0 / 1.097 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/1.006, allocations: 0 / 1.097 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.5e-05/1.006, allocations: 0 / 1.097 GB, free: 13.65 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002343/1.008, allocations: 1.262 MB / 1.098 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/1.008, allocations: 8.031 kB / 1.098 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/1.009, allocations: 151.9 kB / 1.098 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009995/1.01, allocations: 218.4 kB / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/1.011, allocations: 0.7419 MB / 1.099 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/1.011, allocations: 70 kB / 1.099 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/1.011, allocations: 92 kB / 1.099 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001719/1.013, allocations: 1.003 MB / 1.1 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/1.013, allocations: 7.938 kB / 1.1 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.396e-05/1.013, allocations: 40 kB / 1.1 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/1.013, allocations: 23.94 kB / 1.1 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/1.015, allocations: 1.179 MB / 1.101 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004253/1.019, allocations: 2.649 MB / 1.104 GB, free: 6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/1.021, allocations: 0.9654 MB / 1.105 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/1.022, allocations: 318.6 kB / 1.105 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-05/1.022, allocations: 32.61 kB / 1.105 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008691/1.023, allocations: 0.4991 MB / 1.106 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 3.596e-06/1.023, allocations: 3.984 kB / 1.106 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.002979/1.026, allocations: 1.227 MB / 1.107 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/1.026, allocations: 196.5 kB / 1.107 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007863/1.027, allocations: 0.6294 MB / 1.108 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.87e-05/1.027, allocations: 45.7 kB / 1.108 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/1.027, allocations: 424.2 kB / 1.108 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/1.027, allocations: 264.2 kB / 1.108 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/1.027, allocations: 12 kB / 1.108 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001815/1.028, allocations: 390.7 kB / 1.109 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/1.028, allocations: 257.9 kB / 1.109 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/1.029, allocations: 366.5 kB / 1.109 GB, free: 248 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/1.029, allocations: 298.9 kB / 1.11 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.029, allocations: 4 kB / 1.11 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001805/1.031, allocations: 0.8214 MB / 1.11 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.031, allocations: 5.094 kB / 1.11 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/1.031, allocations: 3.953 kB / 1.11 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005516/1.032, allocations: 92.8 kB / 1.11 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/1.032, allocations: 155.8 kB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/1.034, allocations: 1.523 MB / 1.112 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/1.035, allocations: 107.3 kB / 1.112 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.191e-05/1.035, allocations: 31.97 kB / 1.112 GB, free: 13.07 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0006198/1.036, allocations: 264.1 kB / 1.112 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/1.036, allocations: 86.95 kB / 1.113 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/1.039, allocations: 1.112 MB / 1.114 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.039, allocations: 12 kB / 1.114 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.039, allocations: 4 kB / 1.114 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.039, allocations: 7.969 kB / 1.114 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003337/1.042, allocations: 2.017 MB / 1.116 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/1.042, allocations: 0 / 1.116 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/1.043, allocations: 159.7 kB / 1.116 GB, free: 9.332 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005419/1.043, allocations: 84.77 kB / 1.116 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/1.043, allocations: 27.94 kB / 1.116 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/1.045, allocations: 1.544 MB / 1.117 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.045, allocations: 0 / 1.117 GB, free: 7.535 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/1.048, allocations: 1.023 MB / 1.118 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/1.048, allocations: 291.6 kB / 1.119 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/1.048, allocations: 20 kB / 1.119 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/1.049, allocations: 83.92 kB / 1.119 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/1.049, allocations: 68.89 kB / 1.119 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.876e-05/1.049, allocations: 35.98 kB / 1.119 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006593/1.05, allocations: 463 kB / 1.119 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.05, allocations: 4 kB / 1.119 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001083/1.051, allocations: 315.1 kB / 1.12 GB, free: 5.223 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003522/1.055, allocations: 2.071 MB / 1.122 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001714/1.056, allocations: 0.8156 MB / 1.122 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.056, allocations: 8.188 kB / 1.122 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009458/1.057, allocations: 0.5314 MB / 1.123 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/1.059, allocations: 264.7 kB / 1.123 GB, free: 1.672 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/1.069, allocations: 5.272 MB / 1.128 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008049/1.07, allocations: 1.044 MB / 1.129 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001033/1.071, allocations: 262.8 kB / 1.13 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005913/1.072, allocations: 423.2 kB / 1.13 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of SimCode: time 1.132e-06/1.072, allocations: 0 / 1.13 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0408/1.113, allocations: 21.75 MB / 1.151 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003751/1.113, allocations: 297.2 kB / 1.152 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.527, allocations: 0 / 1.152 GB, free: 4.852 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.fmu > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat does not exist to compare? outputFormat=mat