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.01072/0.01072, allocations: 102.1 kB / 15.73 MB, free: 6.012 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.002516/0.002516, allocations: 196.6 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.147/2.147, allocations: 222.9 MB / 240.4 MB, free: 4.047 MB / 190.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.671/2.671, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.23 kB / 0.9504 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2355, allocations: 140.4 MB / 1.087 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005477/0.241, allocations: 4.288 MB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1412/0.3823, allocations: 150.5 MB / 1.239 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006576/0.383, allocations: 11.94 kB / 1.239 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005939/0.3836, allocations: 170.4 kB / 1.239 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.3852, allocations: 0.5007 MB / 1.239 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001765/0.387, allocations: 0.824 MB / 1.24 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001338/0.3883, allocations: 1.289 MB / 1.241 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008146/0.3892, allocations: 0.6022 MB / 1.242 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006227/0.3898, allocations: 474.3 kB / 1.242 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005664/0.3904, allocations: 485.9 kB / 1.243 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.3906, allocations: 112 kB / 1.243 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008215/0.3914, allocations: 483.5 kB / 1.243 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.3917, allocations: 291 kB / 1.244 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004854/0.3922, allocations: 0.5363 MB / 1.244 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.3939, allocations: 1.578 MB / 1.246 GB, free: 15.27 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.3939, allocations: 0 / 1.246 GB, free: 15.27 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3939, allocations: 4 kB / 1.246 GB, free: 15.27 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.977e-05/0.3939, allocations: 0 / 1.246 GB, free: 15.27 MB / 1.014 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.0025/0.3964, allocations: 1.414 MB / 1.247 GB, free: 13.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.3965, allocations: 8.031 kB / 1.247 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.3966, allocations: 135.2 kB / 1.247 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/0.3975, allocations: 183.5 kB / 1.247 GB, free: 13.48 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.3987, allocations: 0.7537 MB / 1.248 GB, free: 12.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.3988, allocations: 62 kB / 1.248 GB, free: 12.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.943e-05/0.3989, allocations: 76 kB / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.4003, allocations: 0.9066 MB / 1.249 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.4004, allocations: 0 / 1.249 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.202e-05/0.4004, allocations: 36 kB / 1.249 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.4005, allocations: 20 kB / 1.249 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001615/0.4021, allocations: 1.1 MB / 1.25 GB, free: 10.44 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.4058, allocations: 2.437 MB / 1.253 GB, free: 7.934 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.4072, allocations: 0.8612 MB / 1.254 GB, free: 7.051 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/0.4077, allocations: 298.6 kB / 1.254 GB, free: 6.758 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.769e-05/0.4078, allocations: 40.53 kB / 1.254 GB, free: 6.719 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007953/0.4086, allocations: 491.1 kB / 1.254 GB, free: 6.219 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 2.986e-06/0.4086, allocations: 0 / 1.254 GB, free: 6.219 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.002902/0.4115, allocations: 1.166 MB / 1.256 GB, free: 5.023 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.83e-05/0.4116, allocations: 196.6 kB / 1.256 GB, free: 4.789 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007645/0.4124, allocations: 0.6214 MB / 1.256 GB, free: 4.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/0.4125, allocations: 41.7 kB / 1.256 GB, free: 4.113 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.4128, allocations: 388.3 kB / 1.257 GB, free: 3.727 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.413, allocations: 252.4 kB / 1.257 GB, free: 3.477 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.4132, allocations: 142.5 kB / 1.257 GB, free: 3.332 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4134, allocations: 390.7 kB / 1.257 GB, free: 2.941 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.4138, allocations: 245.8 kB / 1.258 GB, free: 2.703 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.4144, allocations: 346.6 kB / 1.258 GB, free: 2.332 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.4155, allocations: 0.5721 MB / 1.259 GB, free: 1.75 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.4155, allocations: 0 / 1.259 GB, free: 1.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001787/0.4173, allocations: 0.7863 MB / 1.259 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.4173, allocations: 11.94 kB / 1.259 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4173, allocations: 0 / 1.259 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000575/0.4179, allocations: 80.88 kB / 1.259 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.4185, allocations: 151.8 kB / 1.26 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5991/1.018, allocations: 1.618 MB / 1.261 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009192/1.018, allocations: 85.47 kB / 1.261 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.342e-05/1.019, allocations: 31.25 kB / 1.261 GB, free: 172.4 MB / 1.014 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.0005037/1.019, allocations: 268.5 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/1.019, allocations: 83.16 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/1.022, allocations: 1.046 MB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.022, allocations: 10.56 kB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/1.022, allocations: 0 / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/1.022, allocations: 7.234 kB / 1.263 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003524/1.025, allocations: 1.921 MB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.025, allocations: 1.703 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/1.026, allocations: 143.2 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004664/1.026, allocations: 71.33 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-05/1.027, allocations: 24.97 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/1.028, allocations: 1.657 MB / 1.266 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.028, allocations: 5.203 kB / 1.266 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/1.03, allocations: 0.9776 MB / 1.267 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/1.031, allocations: 271.6 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.031, allocations: 24.83 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/1.032, allocations: 65.59 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/1.032, allocations: 67.25 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.419e-05/1.032, allocations: 35.81 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006551/1.033, allocations: 453 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.033, allocations: 0.75 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009363/1.034, allocations: 305.9 kB / 1.269 GB, free: 169.3 MB / 1.014 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.003472/1.037, allocations: 2.04 MB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001724/1.039, allocations: 0.79 MB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.039, allocations: 4.625 kB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000962/1.04, allocations: 0.5025 MB / 1.272 GB, free: 167.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/1.041, allocations: 291.4 kB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.052, allocations: 6.228 MB / 1.278 GB, free: 164.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005712/1.053, allocations: 1.017 MB / 1.279 GB, free: 163.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009024/1.054, allocations: 263 kB / 1.279 GB, free: 163.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/1.054, allocations: 380.3 kB / 1.28 GB, free: 163.5 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.055, allocations: 0 / 1.28 GB, free: 163.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.779/3.833, allocations: 21.32 MB / 1.301 GB, free: 156.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.31/32.14, allocations: 3.797 kB / 1.301 GB, free: 156.7 MB / 1.014 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/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) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/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