Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001039/0.001039, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.317/1.317, allocations: 222.9 MB / 241 MB, free: 15.13 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.204/2.204, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 60.09 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9046/0.9069, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005896/0.9128, allocations: 4.412 MB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1918/1.105, allocations: 150.6 MB / 1.24 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001351/1.106, allocations: 15.38 kB / 1.24 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009436/1.107, allocations: 177 kB / 1.24 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002669/1.11, allocations: 0.5228 MB / 1.241 GB, free: 380 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002814/1.113, allocations: 0.8465 MB / 1.241 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002177/1.115, allocations: 1.348 MB / 1.243 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001232/1.116, allocations: 0.6173 MB / 1.243 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/1.117, allocations: 0.4919 MB / 1.244 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/1.118, allocations: 0.5048 MB / 1.244 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000382/1.119, allocations: 117.8 kB / 1.244 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/1.12, allocations: 0.489 MB / 1.245 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004469/1.12, allocations: 303 kB / 1.245 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008504/1.121, allocations: 0.5557 MB / 1.246 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00245/1.124, allocations: 1.633 MB / 1.247 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.124, allocations: 0 / 1.247 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/1.124, allocations: 0 / 1.247 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.441e-05/1.124, allocations: 4 kB / 1.247 GB, free: 11.12 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003368/1.127, allocations: 1.451 MB / 1.249 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/1.127, allocations: 8.031 kB / 1.249 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/1.128, allocations: 187.4 kB / 1.249 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.13, allocations: 0.778 MB / 1.25 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.421e-05/1.13, allocations: 62 kB / 1.25 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/1.13, allocations: 84 kB / 1.25 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/1.132, allocations: 0.9418 MB / 1.251 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/1.132, allocations: 0 / 1.251 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.453e-05/1.132, allocations: 35.98 kB / 1.251 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/1.132, allocations: 24 kB / 1.251 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/1.134, allocations: 1.12 MB / 1.252 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/1.138, allocations: 2.511 MB / 1.254 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/1.139, allocations: 0.9082 MB / 1.255 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/1.14, allocations: 314.7 kB / 1.256 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.233e-05/1.14, allocations: 28.69 kB / 1.256 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009211/1.141, allocations: 0.5158 MB / 1.256 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 3.065e-06/1.141, allocations: 4 kB / 1.256 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003256/1.144, allocations: 1.247 MB / 1.257 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.144, allocations: 192.9 kB / 1.258 GB, free: 420 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009152/1.145, allocations: 0.6449 MB / 1.258 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.413e-05/1.145, allocations: 45.7 kB / 1.258 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/1.146, allocations: 396.4 kB / 1.259 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/1.146, allocations: 272.1 kB / 1.259 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/1.146, allocations: 170.5 kB / 1.259 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.147, allocations: 386.8 kB / 1.259 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005831/1.147, allocations: 277.8 kB / 1.26 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/1.148, allocations: 375 kB / 1.26 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/1.149, allocations: 0.6243 MB / 1.261 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.149, allocations: 0 / 1.261 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002061/1.151, allocations: 0.8761 MB / 1.261 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.151, allocations: 8 kB / 1.261 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.151, allocations: 3.938 kB / 1.261 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005855/1.152, allocations: 84.86 kB / 1.262 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/1.152, allocations: 167.7 kB / 1.262 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/1.155, allocations: 1.623 MB / 1.263 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/1.155, allocations: 99.22 kB / 1.263 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/1.156, allocations: 48.02 kB / 1.263 GB, free: 10.14 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: 20 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * 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.0004949/1.156, allocations: 275.7 kB / 1.264 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/1.156, allocations: 82.97 kB / 1.264 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/1.159, allocations: 1.136 MB / 1.265 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.159, allocations: 11.94 kB / 1.265 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/1.159, allocations: 0 / 1.265 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/1.159, allocations: 11.97 kB / 1.265 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/1.162, allocations: 2.018 MB / 1.267 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.162, allocations: 0 / 1.267 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006011/1.163, allocations: 155.8 kB / 1.267 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004281/1.163, allocations: 76.72 kB / 1.267 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/1.163, allocations: 23.98 kB / 1.267 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/1.165, allocations: 1.658 MB / 1.269 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.165, allocations: 7.969 kB / 1.269 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/1.167, allocations: 1.045 MB / 1.27 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/1.168, allocations: 271.7 kB / 1.27 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/1.168, allocations: 27.98 kB / 1.27 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007529/1.169, allocations: 70.53 kB / 1.27 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/1.169, allocations: 84.81 kB / 1.27 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/1.169, allocations: 39.98 kB / 1.27 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007268/1.17, allocations: 459 kB / 1.271 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.17, allocations: 0 / 1.271 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001021/1.171, allocations: 327.2 kB / 1.271 GB, free: 2.121 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001543/1.172, allocations: 0.5979 MB / 1.272 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002022/1.174, allocations: 0.8624 MB / 1.272 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/1.174, allocations: 4 kB / 1.272 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.175, allocations: 0.5433 MB / 1.273 GB, free: 272 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/1.177, allocations: 291.8 kB / 1.273 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/1.181, allocations: 1.841 MB / 1.275 GB, free: 14.13 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007952/1.182, allocations: 1.04 MB / 1.276 GB, free: 13.06 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/1.183, allocations: 119.3 kB / 1.276 GB, free: 12.94 MB / 1.014 GB Notification: Performance of SimCode: time 8.42e-07/1.183, allocations: 0 / 1.276 GB, free: 12.94 MB / 1.014 GB Notification: Performance of Templates: time 0.02748/1.21, allocations: 18.86 MB / 1.295 GB, free: 10.13 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches