Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00987/0.00987, allocations: 101.5 kB / 15.88 MB, free: 5.863 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.002002/0.002001, allocations: 188.6 kB / 16.79 MB, free: 5.805 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.459/1.459, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.2 MB / 0.6649 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 60.09 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9146/0.9163, allocations: 140.4 MB / 0.9496 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005352/0.9217, allocations: 4.324 MB / 0.9538 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1747/1.096, allocations: 148.2 MB / 1.099 GB, free: 9.09 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/1.098, allocations: 15.94 kB / 1.099 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006143/1.098, allocations: 134.9 kB / 1.099 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/1.1, allocations: 437.6 kB / 1.099 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/1.102, allocations: 0.7132 MB / 1.1 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001261/1.103, allocations: 1.215 MB / 1.101 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008466/1.104, allocations: 0.6073 MB / 1.102 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005854/1.105, allocations: 406.3 kB / 1.102 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000599/1.105, allocations: 465.8 kB / 1.102 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/1.105, allocations: 56 kB / 1.102 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000936/1.106, allocations: 403.6 kB / 1.103 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002483/1.107, allocations: 227.1 kB / 1.103 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000459/1.107, allocations: 0.4893 MB / 1.104 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/1.108, allocations: 1.201 MB / 1.105 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/1.108, allocations: 0 / 1.105 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.062e-06/1.108, allocations: 0 / 1.105 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.108, allocations: 0 / 1.105 GB, free: 2.734 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002491/1.111, allocations: 1.407 MB / 1.106 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.111, allocations: 12.03 kB / 1.106 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009116/1.112, allocations: 183.4 kB / 1.106 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/1.113, allocations: 0.7305 MB / 1.107 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.236e-05/1.113, allocations: 70 kB / 1.107 GB, free: 252 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/1.113, allocations: 79.94 kB / 1.107 GB, free: 172 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/1.115, allocations: 0.9223 MB / 1.108 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/1.115, allocations: 0 / 1.108 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.579e-05/1.115, allocations: 39.98 kB / 1.108 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/1.115, allocations: 20 kB / 1.108 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/1.116, allocations: 1.108 MB / 1.109 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/1.12, allocations: 2.521 MB / 1.112 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/1.122, allocations: 0.8948 MB / 1.113 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005086/1.122, allocations: 298.7 kB / 1.113 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.485e-05/1.122, allocations: 36.59 kB / 1.113 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009212/1.123, allocations: 495.1 kB / 1.113 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.244e-06/1.123, allocations: 0 / 1.113 GB, free: 9.684 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.003035/1.126, allocations: 1.186 MB / 1.114 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/1.126, allocations: 192.6 kB / 1.115 GB, free: 8.242 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007475/1.127, allocations: 0.6292 MB / 1.115 GB, free: 7.609 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.157e-05/1.127, allocations: 41.7 kB / 1.115 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/1.128, allocations: 400.3 kB / 1.116 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/1.128, allocations: 256.3 kB / 1.116 GB, free: 6.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/1.128, allocations: 158.5 kB / 1.116 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001734/1.128, allocations: 394.6 kB / 1.116 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/1.129, allocations: 265.9 kB / 1.117 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/1.129, allocations: 367.1 kB / 1.117 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/1.13, allocations: 0.6034 MB / 1.118 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.13, allocations: 0 / 1.118 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001902/1.132, allocations: 0.8527 MB / 1.118 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/1.132, allocations: 5.719 kB / 1.118 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/1.132, allocations: 0 / 1.118 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006183/1.133, allocations: 84.81 kB / 1.119 GB, free: 4.152 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/1.134, allocations: 163.7 kB / 1.119 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/1.136, allocations: 1.532 MB / 1.12 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007056/1.137, allocations: 87.33 kB / 1.12 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/1.137, allocations: 40.03 kB / 1.12 GB, free: 2.191 MB / 0.8731 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.000466/1.137, allocations: 267.4 kB / 1.121 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/1.137, allocations: 86.91 kB / 1.121 GB, free: 1.836 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/1.14, allocations: 1.054 MB / 1.122 GB, free: 0.7695 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/1.14, allocations: 12 kB / 1.122 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/1.14, allocations: 0 / 1.122 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.14, allocations: 3.984 kB / 1.122 GB, free: 0.7539 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/1.143, allocations: 1.946 MB / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.143, allocations: 4 kB / 1.124 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/1.143, allocations: 151.8 kB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/1.144, allocations: 84.7 kB / 1.124 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.401e-05/1.144, allocations: 27.98 kB / 1.124 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/1.146, allocations: 1.548 MB / 1.125 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.146, allocations: 0 / 1.125 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/1.148, allocations: 0.996 MB / 1.126 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003328/1.148, allocations: 271.8 kB / 1.127 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/1.148, allocations: 28 kB / 1.127 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006381/1.149, allocations: 61.98 kB / 1.127 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.149, allocations: 68.89 kB / 1.127 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/1.149, allocations: 35.92 kB / 1.127 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005472/1.149, allocations: 455 kB / 1.127 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.149, allocations: 3.938 kB / 1.127 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008641/1.15, allocations: 311.2 kB / 1.128 GB, free: 10.56 MB / 0.8887 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.001404/1.152, allocations: 0.6039 MB / 1.128 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001737/1.153, allocations: 0.8275 MB / 1.129 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.153, allocations: 4 kB / 1.129 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009051/1.154, allocations: 0.508 MB / 1.129 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/1.156, allocations: 273.6 kB / 1.13 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/1.16, allocations: 2.189 MB / 1.132 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/1.161, allocations: 1.016 MB / 1.133 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/1.161, allocations: 115.4 kB / 1.133 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of SimCode: time 6.61e-07/1.161, allocations: 0 / 1.133 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of Templates: time 0.02707/1.188, allocations: 18.32 MB / 1.151 GB, free: 2.855 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches