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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.007101/0.007101, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001754/0.001754, allocations: 196.7 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.06/2.06, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 59.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7198, allocations: 140.4 MB / 1.087 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004878/0.7247, allocations: 4.27 MB / 1.092 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1551/0.8799, allocations: 150.5 MB / 1.239 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008903/0.8808, allocations: 15.97 kB / 1.239 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006903/0.8815, allocations: 175.1 kB / 1.239 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.8835, allocations: 0.5019 MB / 1.239 GB, free: 240 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.8858, allocations: 0.8277 MB / 1.24 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001496/0.8873, allocations: 1.285 MB / 1.241 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009228/0.8883, allocations: 0.6038 MB / 1.242 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006825/0.889, allocations: 470.2 kB / 1.242 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007142/0.8897, allocations: 483.2 kB / 1.243 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002441/0.8899, allocations: 114.5 kB / 1.243 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.891, allocations: 492.5 kB / 1.243 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.8913, allocations: 285.5 kB / 1.244 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006686/0.892, allocations: 0.5289 MB / 1.244 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.894, allocations: 1.585 MB / 1.246 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.894, allocations: 4 kB / 1.246 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.352e-06/0.894, allocations: 0 / 1.246 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.658e-05/0.8941, allocations: 0 / 1.246 GB, free: 11.52 MB / 0.9825 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.002686/0.8968, allocations: 1.403 MB / 1.247 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.8968, allocations: 12.03 kB / 1.247 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.897, allocations: 135.3 kB / 1.247 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009219/0.8979, allocations: 175.5 kB / 1.247 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.899, allocations: 0.7653 MB / 1.248 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.8991, allocations: 61.98 kB / 1.248 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.8992, allocations: 84 kB / 1.248 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.9007, allocations: 0.895 MB / 1.249 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.9007, allocations: 7.938 kB / 1.249 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/0.9008, allocations: 40 kB / 1.249 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.9008, allocations: 20 kB / 1.249 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.9025, allocations: 1.097 MB / 1.25 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.9061, allocations: 2.433 MB / 1.253 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.9076, allocations: 0.865 MB / 1.254 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005191/0.9081, allocations: 296.3 kB / 1.254 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.266e-05/0.9082, allocations: 40.53 kB / 1.254 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007811/0.909, allocations: 491.1 kB / 1.254 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.585e-06/0.909, allocations: 0 / 1.254 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002965/0.912, allocations: 1.166 MB / 1.256 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.9121, allocations: 196.6 kB / 1.256 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007229/0.9128, allocations: 0.6175 MB / 1.256 GB, free: 424 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.9129, allocations: 45.7 kB / 1.256 GB, free: 372 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.9132, allocations: 384.4 kB / 1.257 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.9134, allocations: 264.3 kB / 1.257 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.9136, allocations: 146.5 kB / 1.257 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.9137, allocations: 390.7 kB / 1.257 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.9142, allocations: 237.9 kB / 1.258 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.9148, allocations: 358.5 kB / 1.258 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.9158, allocations: 0.5643 MB / 1.259 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.9158, allocations: 4 kB / 1.259 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001803/0.9176, allocations: 0.7863 MB / 1.259 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.9177, allocations: 6.656 kB / 1.259 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9177, allocations: 0 / 1.259 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/0.9183, allocations: 84.81 kB / 1.259 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.9189, allocations: 151.8 kB / 1.26 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001939/0.9208, allocations: 1.623 MB / 1.261 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/0.9215, allocations: 91.3 kB / 1.261 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.9215, allocations: 31.97 kB / 1.261 GB, free: 11.06 MB / 0.9981 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 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003728/0.9219, allocations: 267.9 kB / 1.262 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.9221, allocations: 87.03 kB / 1.262 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.9244, allocations: 1.046 MB / 1.263 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.9244, allocations: 12 kB / 1.263 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.9244, allocations: 0 / 1.263 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.9244, allocations: 7.922 kB / 1.263 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.9274, allocations: 1.908 MB / 1.265 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9275, allocations: 0 / 1.265 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.928, allocations: 139.8 kB / 1.265 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.9285, allocations: 76.78 kB / 1.265 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/0.9285, allocations: 19.98 kB / 1.265 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.9303, allocations: 1.666 MB / 1.266 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.9303, allocations: 0 / 1.266 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.9322, allocations: 0.9862 MB / 1.267 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003594/0.9326, allocations: 267.8 kB / 1.268 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.9327, allocations: 20 kB / 1.268 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000647/0.9334, allocations: 67.98 kB / 1.268 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.9335, allocations: 64.91 kB / 1.268 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.9336, allocations: 39.97 kB / 1.268 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005217/0.9341, allocations: 451 kB / 1.268 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9341, allocations: 3.938 kB / 1.268 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008073/0.9349, allocations: 303.2 kB / 1.269 GB, free: 3.395 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003323/0.9383, allocations: 2.034 MB / 1.271 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.9398, allocations: 0.7923 MB / 1.271 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.9398, allocations: 3.984 kB / 1.271 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008709/0.9407, allocations: 0.5081 MB / 1.272 GB, free: 192 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.942, allocations: 286.3 kB / 1.272 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.9523, allocations: 6.218 MB / 1.278 GB, free: 9.602 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.9528, allocations: 1.012 MB / 1.279 GB, free: 8.566 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007276/0.9536, allocations: 266.5 kB / 1.279 GB, free: 8.301 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/0.9541, allocations: 383.3 kB / 1.28 GB, free: 7.926 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/0.9541, allocations: 0 / 1.28 GB, free: 7.926 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.9994, allocations: 20.9 MB / 1.3 GB, free: 3.359 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.86, allocations: 12.05 kB / 1.3 GB, free: 3.355 MB / 1.029 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches