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.001803/0.001803, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001798/0.001798, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.16 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.319/2.319, allocations: 390.2 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 60.14 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9142/0.9156, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005899/0.9216, allocations: 4.284 MB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2037/1.125, allocations: 150.5 MB / 1.24 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/1.127, allocations: 15.22 kB / 1.24 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007934/1.128, allocations: 177.1 kB / 1.24 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002487/1.13, allocations: 0.5027 MB / 1.24 GB, free: 496 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002533/1.133, allocations: 0.8262 MB / 1.241 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001541/1.134, allocations: 1.287 MB / 1.243 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009152/1.135, allocations: 0.6159 MB / 1.243 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006509/1.136, allocations: 469.9 kB / 1.244 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/1.137, allocations: 478.4 kB / 1.244 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/1.137, allocations: 117.3 kB / 1.244 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/1.138, allocations: 485.9 kB / 1.245 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002728/1.138, allocations: 289.7 kB / 1.245 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004687/1.139, allocations: 0.5318 MB / 1.245 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001768/1.14, allocations: 1.583 MB / 1.247 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.14, allocations: 0 / 1.247 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/1.14, allocations: 0 / 1.247 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.477e-05/1.14, allocations: 0 / 1.247 GB, free: 11.55 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.002386/1.143, allocations: 1.395 MB / 1.248 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.143, allocations: 8.031 kB / 1.248 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008795/1.144, allocations: 191.4 kB / 1.248 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/1.145, allocations: 0.7539 MB / 1.249 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/1.145, allocations: 62 kB / 1.249 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.145, allocations: 76 kB / 1.249 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/1.147, allocations: 0.9066 MB / 1.25 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/1.147, allocations: 3.984 kB / 1.25 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.993e-05/1.147, allocations: 40 kB / 1.25 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/1.147, allocations: 20 kB / 1.25 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/1.148, allocations: 1.097 MB / 1.251 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003606/1.152, allocations: 2.432 MB / 1.254 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/1.154, allocations: 0.8728 MB / 1.255 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005182/1.154, allocations: 294.7 kB / 1.255 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.422e-05/1.154, allocations: 32.59 kB / 1.255 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008221/1.155, allocations: 491.1 kB / 1.255 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.595e-06/1.155, allocations: 0 / 1.255 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.002927/1.158, allocations: 1.174 MB / 1.257 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.158, allocations: 192.6 kB / 1.257 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007385/1.159, allocations: 0.6176 MB / 1.257 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.283e-05/1.159, allocations: 41.7 kB / 1.257 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/1.159, allocations: 392.3 kB / 1.258 GB, free: 168 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/1.159, allocations: 256.3 kB / 1.258 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002446/1.16, allocations: 162.5 kB / 1.258 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.16, allocations: 390.7 kB / 1.259 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/1.16, allocations: 265.8 kB / 1.259 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005974/1.161, allocations: 359 kB / 1.259 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/1.162, allocations: 0.5916 MB / 1.26 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.162, allocations: 0 / 1.26 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001838/1.164, allocations: 0.8332 MB / 1.26 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.164, allocations: 4 kB / 1.26 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.164, allocations: 0 / 1.26 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005773/1.164, allocations: 84.86 kB / 1.261 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/1.165, allocations: 163.7 kB / 1.261 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/1.167, allocations: 1.622 MB / 1.262 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/1.168, allocations: 91.58 kB / 1.262 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/1.168, allocations: 35.97 kB / 1.262 GB, free: 11.13 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.0004382/1.168, allocations: 271.3 kB / 1.263 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/1.169, allocations: 83 kB / 1.263 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/1.171, allocations: 1.046 MB / 1.264 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/1.171, allocations: 8 kB / 1.264 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/1.171, allocations: 0 / 1.264 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.171, allocations: 7.922 kB / 1.264 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/1.174, allocations: 1.904 MB / 1.266 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/1.174, allocations: 7.938 kB / 1.266 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/1.174, allocations: 151.7 kB / 1.266 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004087/1.175, allocations: 68.78 kB / 1.266 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/1.175, allocations: 27.98 kB / 1.266 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/1.177, allocations: 1.654 MB / 1.268 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.177, allocations: 0 / 1.268 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/1.179, allocations: 0.9863 MB / 1.268 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/1.179, allocations: 271.7 kB / 1.269 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/1.179, allocations: 16 kB / 1.269 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005894/1.18, allocations: 63.92 kB / 1.269 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/1.18, allocations: 64.91 kB / 1.269 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.088e-05/1.18, allocations: 40.03 kB / 1.269 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005791/1.181, allocations: 451 kB / 1.269 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.181, allocations: 0 / 1.269 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008688/1.182, allocations: 303.3 kB / 1.27 GB, free: 3.473 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.001438/1.183, allocations: 0.6178 MB / 1.27 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001653/1.185, allocations: 0.8235 MB / 1.271 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/1.185, allocations: 0 / 1.271 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008835/1.186, allocations: 0.5236 MB / 1.272 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/1.187, allocations: 275.8 kB / 1.272 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/1.191, allocations: 1.753 MB / 1.274 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/1.191, allocations: 1.012 MB / 1.275 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/1.191, allocations: 115.4 kB / 1.275 GB, free: 14.48 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.191, allocations: 0 / 1.275 GB, free: 14.48 MB / 1.014 GB Notification: Performance of Templates: time 0.02408/1.216, allocations: 18.17 MB / 1.292 GB, free: 12.36 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