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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 113.1 kB / 16.41 MB, free: 6.492 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.001183/0.001183, allocations: 183 kB / 17.34 MB, free: 5.762 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.15 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.154/2.154, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 59.91 kB / 0.9515 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9173/0.9192, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007797/0.927, allocations: 4.283 MB / 1.093 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.191/1.118, allocations: 150.5 MB / 1.24 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/1.119, allocations: 19.22 kB / 1.24 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007764/1.12, allocations: 173.3 kB / 1.24 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002133/1.122, allocations: 0.5153 MB / 1.24 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002318/1.124, allocations: 0.8227 MB / 1.241 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001634/1.126, allocations: 1.275 MB / 1.243 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008675/1.127, allocations: 0.6109 MB / 1.243 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007132/1.128, allocations: 469.9 kB / 1.244 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/1.128, allocations: 484.3 kB / 1.244 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/1.128, allocations: 117.1 kB / 1.244 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009495/1.129, allocations: 485.9 kB / 1.245 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/1.13, allocations: 292 kB / 1.245 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004556/1.13, allocations: 0.5222 MB / 1.245 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/1.132, allocations: 1.59 MB / 1.247 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/1.132, allocations: 0 / 1.247 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.283e-06/1.132, allocations: 0 / 1.247 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.132, allocations: 0 / 1.247 GB, free: 11.65 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.002387/1.134, allocations: 1.399 MB / 1.248 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.134, allocations: 12.03 kB / 1.248 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008881/1.135, allocations: 179.4 kB / 1.248 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/1.136, allocations: 0.7539 MB / 1.249 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/1.136, allocations: 65.98 kB / 1.249 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/1.136, allocations: 80 kB / 1.249 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/1.138, allocations: 0.9066 MB / 1.25 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/1.138, allocations: 0 / 1.25 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.703e-05/1.138, allocations: 36 kB / 1.25 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/1.138, allocations: 20 kB / 1.25 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/1.14, allocations: 1.093 MB / 1.251 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/1.144, allocations: 2.437 MB / 1.254 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/1.145, allocations: 0.8689 MB / 1.255 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005121/1.146, allocations: 298.7 kB / 1.255 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.13e-05/1.146, allocations: 32.55 kB / 1.255 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008364/1.146, allocations: 491.1 kB / 1.255 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.495e-06/1.146, allocations: 3.938 kB / 1.255 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003154/1.15, allocations: 1.174 MB / 1.257 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.15, allocations: 188.6 kB / 1.257 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/1.151, allocations: 0.6176 MB / 1.257 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/1.151, allocations: 41.7 kB / 1.257 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/1.151, allocations: 396.3 kB / 1.258 GB, free: 260 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/1.151, allocations: 256.3 kB / 1.258 GB, free: 0 / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/1.152, allocations: 162.6 kB / 1.258 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.152, allocations: 394.6 kB / 1.259 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/1.152, allocations: 257.9 kB / 1.259 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/1.153, allocations: 359.1 kB / 1.259 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/1.154, allocations: 0.5877 MB / 1.26 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.154, allocations: 0 / 1.26 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001944/1.156, allocations: 0.8411 MB / 1.261 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/1.156, allocations: 4 kB / 1.261 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/1.156, allocations: 0 / 1.261 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/1.157, allocations: 88.73 kB / 1.261 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/1.157, allocations: 155.8 kB / 1.261 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/1.16, allocations: 1.631 MB / 1.262 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008198/1.16, allocations: 91.36 kB / 1.262 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.108e-05/1.16, allocations: 35.97 kB / 1.262 GB, free: 11.21 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (93): * Single equations (assignments): 92 * 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.0004962/1.161, allocations: 267.3 kB / 1.263 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/1.161, allocations: 83.12 kB / 1.263 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/1.163, allocations: 1.054 MB / 1.264 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/1.163, allocations: 8 kB / 1.264 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/1.163, allocations: 0 / 1.264 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.163, allocations: 7.922 kB / 1.264 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/1.166, allocations: 1.9 MB / 1.266 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.167, allocations: 0 / 1.266 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/1.167, allocations: 147.8 kB / 1.266 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004314/1.168, allocations: 76.72 kB / 1.266 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/1.168, allocations: 23.98 kB / 1.266 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/1.169, allocations: 1.658 MB / 1.268 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.169, allocations: 0 / 1.268 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/1.172, allocations: 0.9823 MB / 1.269 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003715/1.172, allocations: 267.7 kB / 1.269 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.172, allocations: 20.06 kB / 1.269 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006527/1.173, allocations: 70.42 kB / 1.269 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/1.173, allocations: 68.91 kB / 1.269 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.728e-05/1.173, allocations: 31.98 kB / 1.269 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005483/1.174, allocations: 455 kB / 1.269 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.174, allocations: 0 / 1.269 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000889/1.174, allocations: 303.3 kB / 1.27 GB, free: 3.562 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.001415/1.176, allocations: 0.6153 MB / 1.27 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001769/1.178, allocations: 0.8117 MB / 1.271 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.178, allocations: 4 kB / 1.271 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009336/1.179, allocations: 0.512 MB / 1.272 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/1.18, allocations: 295.5 kB / 1.272 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003731/1.184, allocations: 1.753 MB / 1.274 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/1.184, allocations: 1.015 MB / 1.275 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/1.185, allocations: 115.3 kB / 1.275 GB, free: 14.57 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.185, allocations: 0 / 1.275 GB, free: 14.57 MB / 1.014 GB Notification: Performance of Templates: time 0.0234/1.208, allocations: 18.16 MB / 1.292 GB, free: 12.45 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (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 & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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