Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001027/0.001027, allocations: 99.78 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.001204/0.001205, 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.457/1.457, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.481/2.481, allocations: 390.3 MB / 0.6653 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003495, allocations: 8 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7361/0.7365, allocations: 142.3 MB / 0.9536 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005371/0.7419, allocations: 3.617 MB / 0.9571 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1669/0.9089, allocations: 127.5 MB / 1.082 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000879/0.9098, allocations: 15.88 kB / 1.082 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.9104, allocations: 75.33 kB / 1.082 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.9124, allocations: 495.5 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.9144, allocations: 0.6198 MB / 1.083 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001683/0.9161, allocations: 0.8104 MB / 1.084 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009166/0.917, allocations: 491.2 kB / 1.084 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006511/0.9177, allocations: 330.6 kB / 1.084 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005877/0.9183, allocations: 330.3 kB / 1.085 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.9185, allocations: 24 kB / 1.085 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008547/0.9193, allocations: 307.6 kB / 1.085 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.9196, allocations: 179.2 kB / 1.085 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002203/0.9198, allocations: 193.1 kB / 1.085 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.9211, allocations: 1.169 MB / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.9211, allocations: 0 / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9212, allocations: 0 / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.9212, allocations: 4 kB / 1.087 GB, free: 7.656 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002373/0.9236, allocations: 1.208 MB / 1.088 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.9236, allocations: 12.03 kB / 1.088 GB, free: 6.379 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.9238, allocations: 131.2 kB / 1.088 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009209/0.9248, allocations: 202.5 kB / 1.088 GB, free: 6.043 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.9259, allocations: 0.7148 MB / 1.089 GB, free: 5.285 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.926, allocations: 66 kB / 1.089 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.9261, allocations: 80 kB / 1.089 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.9276, allocations: 0.9067 MB / 1.09 GB, free: 4.195 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.9276, allocations: 3.953 kB / 1.09 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.398e-05/0.9277, allocations: 39.98 kB / 1.09 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.9277, allocations: 23.94 kB / 1.09 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.9295, allocations: 1.108 MB / 1.091 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.9337, allocations: 2.546 MB / 1.093 GB, free: 416 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/0.9353, allocations: 0.8988 MB / 1.094 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.392e-05/0.9354, allocations: 32.53 kB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008698/0.9363, allocations: 491.2 kB / 1.095 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=79): time 2.094e-06/0.9363, allocations: 0 / 1.095 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=79): time 0.003013/0.9393, allocations: 1.208 MB / 1.096 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.9394, allocations: 188.6 kB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008092/0.9403, allocations: 0.6214 MB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.248e-05/0.9403, allocations: 45.64 kB / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.9407, allocations: 388.4 kB / 1.097 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/0.9409, allocations: 256.3 kB / 1.097 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.9409, allocations: 16 kB / 1.097 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.9411, allocations: 390.7 kB / 1.098 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.9416, allocations: 249.8 kB / 1.098 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.9422, allocations: 366.5 kB / 1.098 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005583/0.9428, allocations: 286.9 kB / 1.099 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.9428, allocations: 0 / 1.099 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001827/0.9447, allocations: 0.8019 MB / 1.099 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.9447, allocations: 4 kB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.9447, allocations: 4 kB / 1.099 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.9453, allocations: 84.86 kB / 1.1 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.9459, allocations: 147.8 kB / 1.1 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.9482, allocations: 1.549 MB / 1.101 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/0.9489, allocations: 95.41 kB / 1.101 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.949, allocations: 32.38 kB / 1.101 GB, free: 7.996 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: 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 (85): * Single equations (assignments): 84 * 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.0004737/0.9495, allocations: 265.7 kB / 1.102 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.9496, allocations: 82.95 kB / 1.102 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002304/0.9519, allocations: 1.081 MB / 1.103 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.9519, allocations: 8 kB / 1.103 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.952, allocations: 0 / 1.103 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.952, allocations: 3.984 kB / 1.103 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.9553, allocations: 1.961 MB / 1.105 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.9553, allocations: 0 / 1.105 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.9559, allocations: 143.8 kB / 1.105 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005236/0.9565, allocations: 88.77 kB / 1.105 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.9565, allocations: 19.98 kB / 1.105 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.9585, allocations: 1.571 MB / 1.106 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.9585, allocations: 3.953 kB / 1.106 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.9605, allocations: 0.996 MB / 1.107 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.961, allocations: 287.7 kB / 1.108 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.9612, allocations: 24.02 kB / 1.108 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.9618, allocations: 84.53 kB / 1.108 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/0.962, allocations: 80.83 kB / 1.108 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-05/0.9621, allocations: 31.92 kB / 1.108 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006868/0.9628, allocations: 455 kB / 1.108 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9628, allocations: 3.938 kB / 1.108 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009662/0.9638, allocations: 295.3 kB / 1.109 GB, free: 296 kB / 0.8575 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 (90): * Single equations (assignments): 84 * 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.003488/0.9673, allocations: 2.042 MB / 1.111 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.969, allocations: 0.7963 MB / 1.111 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.9691, allocations: 4 kB / 1.111 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009222/0.97, allocations: 0.5158 MB / 1.112 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.9712, allocations: 247.3 kB / 1.112 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.9816, allocations: 5.478 MB / 1.117 GB, free: 7.281 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.9822, allocations: 1.037 MB / 1.118 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008618/0.9831, allocations: 258.6 kB / 1.119 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000516/0.9836, allocations: 375.3 kB / 1.119 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of SimCode: time 8.62e-07/0.9836, allocations: 0 / 1.119 GB, free: 5.598 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04758/1.031, allocations: 21.03 MB / 1.14 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/1.032, allocations: 272.5 kB / 1.14 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.268/3.3, allocations: 0 / 1.14 GB, free: 0.5703 MB / 0.8887 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat