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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009334/0.0009336, allocations: 172.7 kB / 15.95 MB, free: 208 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.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.575/2.575, allocations: 409.4 MB / 0.684 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.00037, allocations: 8 kB / 0.8378 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9248/0.9252, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.006034/0.9313, allocations: 3.766 MB / 0.9848 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.1677/1.099, allocations: 136.8 MB / 1.118 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008865/1.1, allocations: 15.88 kB / 1.118 GB, free: 9.312 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005449/1.101, allocations: 130.9 kB / 1.119 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/1.102, allocations: 419.5 kB / 1.119 GB, free: 8.777 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/1.104, allocations: 0.6346 MB / 1.12 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001339/1.105, allocations: 1.141 MB / 1.121 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008147/1.106, allocations: 0.5423 MB / 1.121 GB, free: 6.441 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005671/1.107, allocations: 334.4 kB / 1.122 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005064/1.107, allocations: 378 kB / 1.122 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.527e-05/1.107, allocations: 24 kB / 1.122 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008871/1.108, allocations: 339.6 kB / 1.122 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/1.109, allocations: 187.2 kB / 1.122 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/1.109, allocations: 205.1 kB / 1.123 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/1.11, allocations: 1.223 MB / 1.124 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/1.11, allocations: 4 kB / 1.124 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.024e-06/1.11, allocations: 0 / 1.124 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.298e-05/1.11, allocations: 0 / 1.124 GB, free: 3.766 MB / 0.8731 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.002361/1.113, allocations: 1.262 MB / 1.125 GB, free: 2.457 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.113, allocations: 8.031 kB / 1.125 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/1.113, allocations: 147.9 kB / 1.125 GB, free: 2.297 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/1.114, allocations: 222.4 kB / 1.125 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/1.115, allocations: 0.7381 MB / 1.126 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-05/1.115, allocations: 73.94 kB / 1.126 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/1.115, allocations: 92 kB / 1.126 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/1.117, allocations: 1.007 MB / 1.127 GB, free: 92 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.193e-05/1.117, allocations: 0 / 1.127 GB, free: 92 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.283e-05/1.117, allocations: 43.98 kB / 1.127 GB, free: 48 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/1.117, allocations: 20 kB / 1.127 GB, free: 28 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/1.119, allocations: 1.178 MB / 1.128 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004154/1.123, allocations: 2.658 MB / 1.131 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/1.125, allocations: 0.977 MB / 1.132 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/1.126, allocations: 316.4 kB / 1.132 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.038e-05/1.126, allocations: 28.61 kB / 1.132 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008967/1.127, allocations: 0.4953 MB / 1.133 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 2.475e-06/1.127, allocations: 0 / 1.133 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of matching and sorting (n=82): time 0.002978/1.13, allocations: 1.237 MB / 1.134 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.13, allocations: 188.6 kB / 1.134 GB, free: 8.781 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008182/1.131, allocations: 0.6294 MB / 1.135 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.017e-05/1.131, allocations: 41.7 kB / 1.135 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/1.131, allocations: 428.2 kB / 1.135 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/1.132, allocations: 264.2 kB / 1.136 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/1.132, allocations: 20 kB / 1.136 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.132, allocations: 382.8 kB / 1.136 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/1.132, allocations: 253.9 kB / 1.136 GB, free: 6.758 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/1.133, allocations: 374.5 kB / 1.137 GB, free: 6.367 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/1.133, allocations: 298.9 kB / 1.137 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/1.133, allocations: 0 / 1.137 GB, free: 6.078 MB / 0.8887 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001804/1.135, allocations: 0.8291 MB / 1.138 GB, free: 5.234 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.135, allocations: 4 kB / 1.138 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.135, allocations: 4.094 kB / 1.138 GB, free: 5.227 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005439/1.136, allocations: 80.78 kB / 1.138 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006414/1.137, allocations: 159.8 kB / 1.138 GB, free: 4.988 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/1.139, allocations: 1.52 MB / 1.139 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006932/1.139, allocations: 100.9 kB / 1.139 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/1.139, allocations: 31.97 kB / 1.139 GB, free: 3.203 MB / 0.8887 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.0005047/1.14, allocations: 277.8 kB / 1.14 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/1.14, allocations: 82.97 kB / 1.14 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/1.142, allocations: 1.108 MB / 1.141 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/1.142, allocations: 11.98 kB / 1.141 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.142, allocations: 7.938 kB / 1.141 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.142, allocations: 7.984 kB / 1.141 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/1.146, allocations: 2.024 MB / 1.143 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.146, allocations: 0 / 1.143 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/1.146, allocations: 163.8 kB / 1.143 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/1.147, allocations: 80.78 kB / 1.143 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/1.147, allocations: 27.97 kB / 1.143 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/1.149, allocations: 1.536 MB / 1.145 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.149, allocations: 3.938 kB / 1.145 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/1.151, allocations: 1.019 MB / 1.146 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/1.151, allocations: 291.5 kB / 1.146 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.151, allocations: 20 kB / 1.146 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/1.152, allocations: 87.92 kB / 1.146 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/1.152, allocations: 72.83 kB / 1.146 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.268e-05/1.152, allocations: 35.97 kB / 1.146 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000606/1.153, allocations: 467 kB / 1.147 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.153, allocations: 0 / 1.147 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009515/1.154, allocations: 323.1 kB / 1.147 GB, free: 11.33 MB / 0.9044 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.003416/1.157, allocations: 2.07 MB / 1.149 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001708/1.159, allocations: 0.8119 MB / 1.15 GB, free: 8.594 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.159, allocations: 7.875 kB / 1.15 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009017/1.16, allocations: 0.5276 MB / 1.15 GB, free: 8.047 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/1.161, allocations: 265.5 kB / 1.15 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.171, allocations: 5.274 MB / 1.156 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/1.172, allocations: 1.039 MB / 1.157 GB, free: 1.34 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009655/1.173, allocations: 278.6 kB / 1.157 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005971/1.174, allocations: 411.3 kB / 1.157 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of SimCode: time 1.182e-06/1.174, allocations: 0 / 1.157 GB, free: 0.6602 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04471/1.218, allocations: 21.75 MB / 1.179 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/1.219, allocations: 307.6 kB / 1.179 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.389/3.608, allocations: 0 / 1.179 GB, free: 10.98 MB / 0.9356 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) Environment - environmentSimulation: 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