Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.001477/0.001477, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.00212/0.00212, allocations: 177.3 kB / 15.95 MB, free: 216 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.454/1.454, allocations: 223.2 MB / 239.9 MB, free: 5.438 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.498/2.498, allocations: 390.3 MB / 0.6653 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003176, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7553/0.7556, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.006085/0.7618, allocations: 3.868 MB / 0.9574 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1523/0.9141, allocations: 127.7 MB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.9152, allocations: 19.88 kB / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.9156, allocations: 75.33 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.9174, allocations: 0.5366 MB / 1.083 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.9192, allocations: 0.6574 MB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001463/0.9207, allocations: 0.8885 MB / 1.084 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007464/0.9214, allocations: 0.566 MB / 1.085 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005623/0.922, allocations: 390.4 kB / 1.085 GB, free: 9.113 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004797/0.9225, allocations: 391.2 kB / 1.085 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.51e-05/0.9226, allocations: 28 kB / 1.085 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008062/0.9234, allocations: 331.6 kB / 1.086 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.9236, allocations: 207.1 kB / 1.086 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.9238, allocations: 217.1 kB / 1.086 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.9251, allocations: 1.301 MB / 1.087 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.9251, allocations: 0 / 1.087 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9251, allocations: 7.938 kB / 1.087 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.9251, allocations: 4 kB / 1.088 GB, free: 6.641 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.002441/0.9275, allocations: 1.332 MB / 1.089 GB, free: 5.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.9276, allocations: 15.97 kB / 1.089 GB, free: 5.234 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.9278, allocations: 156.3 kB / 1.089 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008991/0.9287, allocations: 214.2 kB / 1.089 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.9298, allocations: 0.7661 MB / 1.09 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.9299, allocations: 70.02 kB / 1.09 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.9301, allocations: 96 kB / 1.09 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.9318, allocations: 1.055 MB / 1.091 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.9318, allocations: 3.953 kB / 1.091 GB, free: 2.766 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.352e-05/0.9319, allocations: 43.94 kB / 1.091 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.9319, allocations: 24 kB / 1.091 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.9338, allocations: 1.233 MB / 1.092 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004674/0.9385, allocations: 2.946 MB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.9402, allocations: 0.9148 MB / 1.096 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-05/0.9403, allocations: 37.02 kB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009533/0.9413, allocations: 0.5397 MB / 1.097 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=92): time 2.124e-06/0.9413, allocations: 0 / 1.097 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of matching and sorting (n=92): time 0.00317/0.9444, allocations: 1.345 MB / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.9446, allocations: 188.9 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008454/0.9454, allocations: 0.6764 MB / 1.099 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.49e-05/0.9455, allocations: 41.7 kB / 1.099 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.9459, allocations: 452.3 kB / 1.099 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.9461, allocations: 299.7 kB / 1.1 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.9462, allocations: 16 kB / 1.1 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.9463, allocations: 390.8 kB / 1.1 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.9469, allocations: 281.8 kB / 1.1 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.9475, allocations: 402.5 kB / 1.101 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006106/0.9481, allocations: 330.9 kB / 1.101 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.9481, allocations: 0 / 1.101 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001901/0.95, allocations: 0.9033 MB / 1.102 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.9501, allocations: 8 kB / 1.102 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.9501, allocations: 3.938 kB / 1.102 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005949/0.9507, allocations: 84.83 kB / 1.102 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.9514, allocations: 183.8 kB / 1.102 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.9534, allocations: 1.536 MB / 1.104 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000754/0.9542, allocations: 112.7 kB / 1.104 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/0.9542, allocations: 35.97 kB / 1.104 GB, free: 5.422 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAng.decAng.tNext,incAng.decAng.tNext,$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 (101): * Single equations (assignments): 100 * 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.0005055/0.9548, allocations: 283.3 kB / 1.104 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.9549, allocations: 94.83 kB / 1.104 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.9575, allocations: 1.234 MB / 1.105 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.9575, allocations: 12 kB / 1.105 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.9575, allocations: 4 kB / 1.105 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.9575, allocations: 11.97 kB / 1.105 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.9587, allocations: 1.024 MB / 1.106 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.9587, allocations: 0 / 1.106 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006793/0.9594, allocations: 167.8 kB / 1.107 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000519/0.96, allocations: 88.77 kB / 1.107 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.96, allocations: 27.98 kB / 1.107 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/0.9618, allocations: 1.563 MB / 1.108 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9618, allocations: 0 / 1.108 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.9639, allocations: 1.049 MB / 1.109 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.9644, allocations: 311.4 kB / 1.109 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.9645, allocations: 20 kB / 1.11 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006932/0.9652, allocations: 102.1 kB / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.9654, allocations: 76.88 kB / 1.11 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/0.9655, allocations: 43.97 kB / 1.11 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006119/0.9661, allocations: 495 kB / 1.11 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9661, allocations: 0 / 1.11 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009571/0.967, allocations: 355.1 kB / 1.111 GB, free: 14.25 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003489/0.9705, allocations: 2.118 MB / 1.113 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001746/0.9723, allocations: 0.8976 MB / 1.113 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.9723, allocations: 0 / 1.113 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009492/0.9733, allocations: 0.5667 MB / 1.114 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.9744, allocations: 245.8 kB / 1.114 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.9848, allocations: 6.099 MB / 1.12 GB, free: 4.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/0.9854, allocations: 1.098 MB / 1.121 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009288/0.9864, allocations: 279.4 kB / 1.122 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/0.987, allocations: 439.2 kB / 1.122 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of SimCode: time 7.31e-07/0.987, allocations: 0 / 1.122 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04188/1.029, allocations: 23.38 MB / 1.145 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/1.029, allocations: 296.5 kB / 1.145 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.545, allocations: 0 / 1.145 GB, free: 11.14 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat does not exist to compare? outputFormat=mat