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.007195/0.007195, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001576/0.001576, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.215/1.215, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.068/2.068, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.7141, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005013/0.7192, allocations: 4.279 MB / 1.092 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1628/0.882, allocations: 150.5 MB / 1.239 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000909/0.8829, allocations: 15.97 kB / 1.239 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000729/0.8837, allocations: 176.9 kB / 1.239 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.8857, allocations: 0.5041 MB / 1.239 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.888, allocations: 0.8314 MB / 1.24 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001612/0.8896, allocations: 1.285 MB / 1.241 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/0.8907, allocations: 0.6186 MB / 1.242 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.8914, allocations: 469.7 kB / 1.242 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008006/0.8923, allocations: 487.1 kB / 1.243 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002893/0.8926, allocations: 113.8 kB / 1.243 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.8937, allocations: 481.4 kB / 1.243 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.8941, allocations: 292.3 kB / 1.244 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007611/0.8949, allocations: 0.5292 MB / 1.244 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.8973, allocations: 1.596 MB / 1.246 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.8973, allocations: 0 / 1.246 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8973, allocations: 0 / 1.246 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.661e-05/0.8974, allocations: 0 / 1.246 GB, free: 11.58 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.002836/0.9002, allocations: 1.448 MB / 1.247 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.9002, allocations: 8.031 kB / 1.247 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001887/0.9004, allocations: 131.3 kB / 1.247 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009912/0.9014, allocations: 192.1 kB / 1.248 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.9028, allocations: 0.7504 MB / 1.248 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-05/0.9029, allocations: 69.98 kB / 1.248 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.903, allocations: 76 kB / 1.248 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.9046, allocations: 0.9028 MB / 1.249 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.9046, allocations: 3.938 kB / 1.249 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.317e-05/0.9047, allocations: 36 kB / 1.249 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.9047, allocations: 20 kB / 1.249 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.9064, allocations: 1.1 MB / 1.25 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003851/0.9102, allocations: 2.454 MB / 1.253 GB, free: 4.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.9117, allocations: 0.856 MB / 1.254 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.9123, allocations: 298.7 kB / 1.254 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.141e-05/0.9124, allocations: 32.55 kB / 1.254 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008096/0.9132, allocations: 492.7 kB / 1.254 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.685e-06/0.9132, allocations: 0 / 1.254 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002968/0.9162, allocations: 1.175 MB / 1.256 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/0.9163, allocations: 192.6 kB / 1.256 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007652/0.917, allocations: 0.6215 MB / 1.256 GB, free: 428 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/0.9171, allocations: 41.7 kB / 1.256 GB, free: 380 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.9174, allocations: 393.2 kB / 1.257 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.9176, allocations: 273.7 kB / 1.257 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.9179, allocations: 142.6 kB / 1.257 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.918, allocations: 390.7 kB / 1.258 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/0.9185, allocations: 237.9 kB / 1.258 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/0.9191, allocations: 354.5 kB / 1.258 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.9201, allocations: 0.5721 MB / 1.259 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.9201, allocations: 0 / 1.259 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001807/0.922, allocations: 0.7906 MB / 1.259 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.922, allocations: 4 kB / 1.259 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.922, allocations: 4 kB / 1.259 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005731/0.9226, allocations: 76.88 kB / 1.26 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.9232, allocations: 155.7 kB / 1.26 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.9252, allocations: 1.635 MB / 1.261 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000664/0.9258, allocations: 83.64 kB / 1.261 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/0.9259, allocations: 27.98 kB / 1.261 GB, free: 11.05 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.0004509/0.9264, allocations: 270.3 kB / 1.262 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.9266, allocations: 91.38 kB / 1.262 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.9289, allocations: 1.042 MB / 1.263 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.929, allocations: 11.98 kB / 1.263 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.929, allocations: 4 kB / 1.263 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.929, allocations: 7.922 kB / 1.263 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.9322, allocations: 1.919 MB / 1.265 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.9322, allocations: 0 / 1.265 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.9328, allocations: 139.8 kB / 1.265 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/0.9332, allocations: 72.8 kB / 1.265 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/0.9333, allocations: 27.97 kB / 1.265 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.9351, allocations: 1.654 MB / 1.267 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.9351, allocations: 8.047 kB / 1.267 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.937, allocations: 0.9828 MB / 1.267 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/0.9375, allocations: 272.2 kB / 1.268 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.9376, allocations: 20 kB / 1.268 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006712/0.9383, allocations: 59.92 kB / 1.268 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.9385, allocations: 76.91 kB / 1.268 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.618e-05/0.9385, allocations: 31.98 kB / 1.268 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005914/0.9391, allocations: 459 kB / 1.268 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9391, allocations: 0 / 1.268 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008932/0.94, allocations: 303.2 kB / 1.269 GB, free: 3.363 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.003496/0.9435, allocations: 2.042 MB / 1.271 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.9452, allocations: 0.7843 MB / 1.271 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9452, allocations: 0 / 1.271 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009207/0.9461, allocations: 0.516 MB / 1.272 GB, free: 156 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.9475, allocations: 300.8 kB / 1.272 GB, free: 15.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.9583, allocations: 6.245 MB / 1.278 GB, free: 9.527 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.9589, allocations: 1.015 MB / 1.279 GB, free: 8.488 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008172/0.9597, allocations: 270.4 kB / 1.28 GB, free: 8.219 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005354/0.9603, allocations: 375.3 kB / 1.28 GB, free: 7.852 MB / 1.014 GB Notification: Performance of SimCode: time 8.11e-07/0.9603, allocations: 0 / 1.28 GB, free: 7.852 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0476/1.008, allocations: 20.91 MB / 1.3 GB, free: 3.273 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.69, allocations: 7.438 kB / 1.3 GB, free: 3.27 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