Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.0008839/0.0008839, allocations: 100.3 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.0009214/0.0009215, allocations: 177.3 kB / 15.94 MB, free: 228 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.372/1.372, allocations: 223.2 MB / 239.9 MB, free: 5.367 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.417/2.417, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 8 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7139/0.7142, allocations: 142.3 MB / 0.9536 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.003623/0.7179, allocations: 3.587 MB / 0.9571 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1588/0.8768, allocations: 127.5 MB / 1.082 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007436/0.8775, allocations: 15.94 kB / 1.082 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003505/0.8779, allocations: 71.34 kB / 1.082 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.8794, allocations: 487.5 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.881, allocations: 0.6316 MB / 1.083 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.8822, allocations: 0.791 MB / 1.084 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007752/0.883, allocations: 475.1 kB / 1.084 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004984/0.8835, allocations: 326.6 kB / 1.084 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.8839, allocations: 326.3 kB / 1.085 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.182e-05/0.884, allocations: 28 kB / 1.085 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007074/0.8847, allocations: 307.6 kB / 1.085 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.8849, allocations: 175.2 kB / 1.085 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.8851, allocations: 197.1 kB / 1.085 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.8863, allocations: 1.142 MB / 1.086 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.8863, allocations: 0 / 1.086 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8863, allocations: 0 / 1.086 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.8863, allocations: 0 / 1.086 GB, free: 7.797 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002196/0.8885, allocations: 1.208 MB / 1.088 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.8886, allocations: 12.03 kB / 1.088 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.8888, allocations: 131.1 kB / 1.088 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008768/0.8896, allocations: 190.6 kB / 1.088 GB, free: 6.195 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.891, allocations: 0.7069 MB / 1.089 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.729e-05/0.8911, allocations: 66 kB / 1.089 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.8912, allocations: 79.98 kB / 1.089 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.8927, allocations: 0.8911 MB / 1.09 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.8927, allocations: 7.953 kB / 1.09 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.8928, allocations: 39.98 kB / 1.09 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.8929, allocations: 20 kB / 1.09 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.8946, allocations: 1.097 MB / 1.091 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.8987, allocations: 2.493 MB / 1.093 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.9002, allocations: 0.8713 MB / 1.094 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.682e-05/0.9003, allocations: 32.61 kB / 1.094 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008671/0.9012, allocations: 491.1 kB / 1.095 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=79): time 2.194e-06/0.9012, allocations: 0 / 1.095 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=79): time 0.003043/0.9042, allocations: 1.179 MB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.9044, allocations: 192.5 kB / 1.096 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008068/0.9052, allocations: 0.6176 MB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.9052, allocations: 37.7 kB / 1.097 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/0.9056, allocations: 392.3 kB / 1.097 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.9058, allocations: 264.3 kB / 1.097 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.9058, allocations: 12 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.906, allocations: 390.7 kB / 1.098 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.9064, allocations: 241.9 kB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.907, allocations: 346.6 kB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005292/0.9076, allocations: 298.8 kB / 1.098 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.9076, allocations: 0 / 1.098 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001799/0.9094, allocations: 0.7863 MB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.9094, allocations: 8 kB / 1.099 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.9094, allocations: 0 / 1.099 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005909/0.91, allocations: 88.8 kB / 1.099 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.9107, allocations: 147.8 kB / 1.099 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.9129, allocations: 1.532 MB / 1.101 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/0.9137, allocations: 99.34 kB / 1.101 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.11e-05/0.9138, allocations: 31.97 kB / 1.101 GB, free: 8.332 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.0005269/0.9143, allocations: 257.7 kB / 1.101 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.9145, allocations: 86.91 kB / 1.101 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.9171, allocations: 1.065 MB / 1.102 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.9171, allocations: 12.23 kB / 1.102 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9172, allocations: 0 / 1.102 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.9172, allocations: 7.969 kB / 1.102 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/0.9208, allocations: 1.907 MB / 1.104 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.9208, allocations: 4 kB / 1.104 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005825/0.9214, allocations: 139.8 kB / 1.104 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/0.922, allocations: 88.77 kB / 1.104 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.909e-05/0.9221, allocations: 19.98 kB / 1.104 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00193/0.924, allocations: 1.563 MB / 1.106 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.924, allocations: 0 / 1.106 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.926, allocations: 0.9921 MB / 1.107 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/0.9265, allocations: 283.7 kB / 1.107 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.9266, allocations: 16 kB / 1.107 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007303/0.9274, allocations: 90.06 kB / 1.107 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.9275, allocations: 64.91 kB / 1.107 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-05/0.9276, allocations: 39.97 kB / 1.107 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005894/0.9282, allocations: 443 kB / 1.108 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9282, allocations: 0 / 1.108 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008907/0.9291, allocations: 299.3 kB / 1.108 GB, free: 0.7344 MB / 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.003467/0.9326, allocations: 2.051 MB / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001673/0.9343, allocations: 0.7846 MB / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.9343, allocations: 0 / 1.111 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009941/0.9353, allocations: 0.5081 MB / 1.111 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.9366, allocations: 246.6 kB / 1.112 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.9477, allocations: 5.405 MB / 1.117 GB, free: 7.816 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007732/0.9485, allocations: 1.035 MB / 1.118 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009674/0.9495, allocations: 262.5 kB / 1.118 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/0.9501, allocations: 371.3 kB / 1.119 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of SimCode: time 9.31e-07/0.9501, allocations: 0 / 1.119 GB, free: 6.125 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04407/0.9942, allocations: 20.83 MB / 1.139 GB, free: 1.711 MB / 0.8888 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.9945, allocations: 283.6 kB / 1.139 GB, free: 1.355 MB / 0.8888 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/3.25, allocations: 2.5 kB / 1.139 GB, free: 1.355 MB / 0.8888 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat does not exist to compare? outputFormat=mat