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.00716/0.00716, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.002202/0.002202, allocations: 199 kB / 16.67 MB, free: 5.973 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.415/2.415, allocations: 390.3 MB / 0.6648 GB, free: 276 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 66.56 kB / 0.9504 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2478, allocations: 140.4 MB / 1.087 GB, free: 2.055 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005992/0.2539, allocations: 4.281 MB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.162/0.4159, allocations: 150.5 MB / 1.239 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009622/0.4169, allocations: 19.88 kB / 1.239 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008415/0.4178, allocations: 170.4 kB / 1.239 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.4199, allocations: 0.5002 MB / 1.239 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.4223, allocations: 0.8268 MB / 1.24 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002025/0.4244, allocations: 1.289 MB / 1.241 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.4256, allocations: 0.6101 MB / 1.242 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.4267, allocations: 474.3 kB / 1.242 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009321/0.4276, allocations: 485.8 kB / 1.243 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003696/0.428, allocations: 116 kB / 1.243 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.4294, allocations: 479.6 kB / 1.243 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004851/0.4299, allocations: 295 kB / 1.244 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009468/0.4309, allocations: 0.5284 MB / 1.244 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003081/0.434, allocations: 1.586 MB / 1.246 GB, free: 15.25 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.434, allocations: 0 / 1.246 GB, free: 15.25 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.975e-06/0.434, allocations: 0 / 1.246 GB, free: 15.25 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.96e-05/0.4341, allocations: 4 kB / 1.246 GB, free: 15.25 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.003859/0.438, allocations: 1.403 MB / 1.247 GB, free: 13.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.4381, allocations: 8.031 kB / 1.247 GB, free: 13.79 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002801/0.4383, allocations: 131.3 kB / 1.247 GB, free: 13.65 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.4394, allocations: 183.5 kB / 1.247 GB, free: 13.47 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.4411, allocations: 0.7614 MB / 1.248 GB, free: 12.67 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.4412, allocations: 62 kB / 1.248 GB, free: 12.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.4414, allocations: 80 kB / 1.248 GB, free: 12.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.4434, allocations: 0.8989 MB / 1.249 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.4435, allocations: 3.984 kB / 1.249 GB, free: 11.59 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/0.4436, allocations: 36 kB / 1.249 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.233e-05/0.4436, allocations: 20 kB / 1.249 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.4455, allocations: 1.093 MB / 1.25 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004665/0.4502, allocations: 2.441 MB / 1.253 GB, free: 7.922 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.4519, allocations: 0.8573 MB / 1.254 GB, free: 7.043 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.4525, allocations: 298.7 kB / 1.254 GB, free: 6.75 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.282e-05/0.4526, allocations: 36.48 kB / 1.254 GB, free: 6.715 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009342/0.4536, allocations: 495 kB / 1.254 GB, free: 6.211 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 5.711e-06/0.4536, allocations: 4 kB / 1.254 GB, free: 6.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003334/0.4569, allocations: 1.17 MB / 1.256 GB, free: 5.008 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.4571, allocations: 196.6 kB / 1.256 GB, free: 4.773 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.4582, allocations: 0.6175 MB / 1.256 GB, free: 4.148 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.778e-05/0.4583, allocations: 41.7 kB / 1.256 GB, free: 4.102 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.4587, allocations: 392.3 kB / 1.257 GB, free: 3.711 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.4589, allocations: 248.5 kB / 1.257 GB, free: 3.465 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.4592, allocations: 146.5 kB / 1.257 GB, free: 3.316 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4594, allocations: 386.7 kB / 1.257 GB, free: 2.93 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/0.4599, allocations: 245.9 kB / 1.258 GB, free: 2.691 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/0.4606, allocations: 350.5 kB / 1.258 GB, free: 2.316 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.4617, allocations: 0.5721 MB / 1.259 GB, free: 1.734 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4618, allocations: 0 / 1.259 GB, free: 1.734 MB / 1.014 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00206/0.4638, allocations: 0.7824 MB / 1.259 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.4639, allocations: 4 kB / 1.259 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4639, allocations: 4 kB / 1.259 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006638/0.4646, allocations: 84.86 kB / 1.259 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.4652, allocations: 143.8 kB / 1.26 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5601/1.025, allocations: 1.629 MB / 1.261 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007436/1.026, allocations: 95.31 kB / 1.261 GB, free: 172.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/1.026, allocations: 31.94 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.0004085/1.027, allocations: 264.7 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/1.027, allocations: 85.64 kB / 1.262 GB, free: 172.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/1.029, allocations: 1.049 MB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.029, allocations: 9.469 kB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.029, allocations: 0 / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/1.029, allocations: 5.453 kB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/1.032, allocations: 1.907 MB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.032, allocations: 0.6562 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005827/1.033, allocations: 143 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/1.033, allocations: 73.17 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/1.034, allocations: 25.5 kB / 1.265 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/1.035, allocations: 1.66 MB / 1.266 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.035, allocations: 4.875 kB / 1.266 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/1.037, allocations: 0.9839 MB / 1.267 GB, free: 169.8 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003723/1.038, allocations: 273.3 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/1.038, allocations: 21.75 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/1.039, allocations: 64 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/1.039, allocations: 73.41 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/1.039, allocations: 33.69 kB / 1.268 GB, free: 169.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006062/1.039, allocations: 453.2 kB / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.039, allocations: 0 / 1.268 GB, free: 169.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009333/1.04, allocations: 301 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.003346/1.044, allocations: 2.036 MB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001824/1.046, allocations: 0.7904 MB / 1.271 GB, free: 168 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/1.046, allocations: 1.156 kB / 1.271 GB, free: 168 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/1.047, allocations: 0.5061 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.001287/1.048, allocations: 290.2 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.01153/1.06, allocations: 6.232 MB / 1.278 GB, free: 164.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/1.06, allocations: 1.015 MB / 1.279 GB, free: 163.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008745/1.061, allocations: 258.6 kB / 1.279 GB, free: 163.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/1.061, allocations: 379.2 kB / 1.28 GB, free: 163.5 MB / 1.014 GB Notification: Performance of SimCode: time 7.12e-07/1.061, allocations: 4 kB / 1.28 GB, free: 163.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0489/1.11, allocations: 20.91 MB / 1.3 GB, free: 157 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.47, allocations: 4.578 kB / 1.3 GB, free: 157 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