Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_10_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.007436/0.007436, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001666/0.001666, allocations: 194.6 kB / 16.67 MB, free: 5.938 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 1.018 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2911, allocations: 151.6 MB / 1.167 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.006525/0.2977, allocations: 4.817 MB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8708/1.168, allocations: 150.6 MB / 1.318 GB, free: 10.94 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008006/1.169, allocations: 14.78 kB / 1.318 GB, free: 10.94 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005845/1.17, allocations: 191.3 kB / 1.319 GB, free: 10.83 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00176/1.172, allocations: 0.5349 MB / 1.319 GB, free: 10.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/1.174, allocations: 0.8394 MB / 1.32 GB, free: 10.44 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001591/1.176, allocations: 1.382 MB / 1.321 GB, free: 10.18 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008617/1.177, allocations: 0.5856 MB / 1.322 GB, free: 10.04 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000718/1.177, allocations: 494.5 kB / 1.322 GB, free: 9.926 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/1.178, allocations: 0.4964 MB / 1.323 GB, free: 9.758 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001848/1.178, allocations: 121.6 kB / 1.323 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/1.179, allocations: 490.6 kB / 1.323 GB, free: 9.633 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003028/1.18, allocations: 291.9 kB / 1.324 GB, free: 9.449 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005581/1.18, allocations: 0.5626 MB / 1.324 GB, free: 9.07 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/1.182, allocations: 1.65 MB / 1.326 GB, free: 8.371 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.182, allocations: 0 / 1.326 GB, free: 8.371 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/1.182, allocations: 0 / 1.326 GB, free: 8.371 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.863e-05/1.182, allocations: 0 / 1.326 GB, free: 8.371 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002647/1.185, allocations: 1.459 MB / 1.327 GB, free: 7.363 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.185, allocations: 9.906 kB / 1.327 GB, free: 7.363 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/1.186, allocations: 186.4 kB / 1.327 GB, free: 7.301 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/1.187, allocations: 0.7716 MB / 1.328 GB, free: 6.793 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-05/1.188, allocations: 61.17 kB / 1.328 GB, free: 6.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/1.188, allocations: 86.53 kB / 1.328 GB, free: 6.738 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/1.189, allocations: 0.92 MB / 1.329 GB, free: 6.309 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/1.189, allocations: 2.25 kB / 1.329 GB, free: 6.309 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.735e-05/1.19, allocations: 36.47 kB / 1.329 GB, free: 6.281 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/1.19, allocations: 20.56 kB / 1.329 GB, free: 6.281 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/1.191, allocations: 1.106 MB / 1.33 GB, free: 6.031 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004175/1.196, allocations: 2.71 MB / 1.333 GB, free: 4.367 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/1.197, allocations: 0.8847 MB / 1.334 GB, free: 3.965 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/1.198, allocations: 300.8 kB / 1.334 GB, free: 3.852 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.117e-05/1.198, allocations: 37.3 kB / 1.334 GB, free: 3.836 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008467/1.199, allocations: 496.9 kB / 1.335 GB, free: 3.629 MB / 1.014 GB Notification: Performance of pre-optimization done (n=79): time 3.907e-06/1.199, allocations: 0 / 1.335 GB, free: 3.629 MB / 1.014 GB Notification: Performance of matching and sorting (n=79): time 0.003119/1.202, allocations: 1.195 MB / 1.336 GB, free: 3.125 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.202, allocations: 188.8 kB / 1.336 GB, free: 2.906 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008363/1.203, allocations: 0.6321 MB / 1.337 GB, free: 2.621 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.618e-05/1.203, allocations: 41.92 kB / 1.337 GB, free: 2.578 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/1.203, allocations: 398.5 kB / 1.337 GB, free: 2.266 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/1.203, allocations: 269.6 kB / 1.337 GB, free: 2.055 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/1.204, allocations: 166.8 kB / 1.337 GB, free: 1.977 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.204, allocations: 394.2 kB / 1.338 GB, free: 1.625 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/1.204, allocations: 262.4 kB / 1.338 GB, free: 1.535 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006372/1.205, allocations: 368.5 kB / 1.338 GB, free: 1.371 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/1.206, allocations: 0.6032 MB / 1.339 GB, free: 1.094 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.206, allocations: 0 / 1.339 GB, free: 1.094 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001955/1.208, allocations: 0.8423 MB / 1.34 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/1.208, allocations: 9.406 kB / 1.34 GB, free: 0.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.208, allocations: 3.906 kB / 1.34 GB, free: 0.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005789/1.209, allocations: 85.45 kB / 1.34 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/1.209, allocations: 160.4 kB / 1.34 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/1.211, allocations: 1.654 MB / 1.342 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/1.212, allocations: 91.86 kB / 1.342 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/1.212, allocations: 36.73 kB / 1.342 GB, free: 15.11 MB / 1.029 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.0004902/1.213, allocations: 271.8 kB / 1.342 GB, free: 14.9 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/1.213, allocations: 88.7 kB / 1.342 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/1.216, allocations: 1.061 MB / 1.343 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.216, allocations: 9 kB / 1.343 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.216, allocations: 1.875 kB / 1.343 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/1.216, allocations: 8.859 kB / 1.343 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/1.219, allocations: 1.958 MB / 1.345 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.219, allocations: 1.062 kB / 1.345 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/1.22, allocations: 141.7 kB / 1.345 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/1.22, allocations: 71.92 kB / 1.345 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/1.22, allocations: 24.89 kB / 1.345 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/1.222, allocations: 1.672 MB / 1.347 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.222, allocations: 1.156 kB / 1.347 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/1.224, allocations: 1.001 MB / 1.348 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/1.225, allocations: 280.2 kB / 1.348 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/1.225, allocations: 18 kB / 1.348 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/1.226, allocations: 64.98 kB / 1.348 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/1.226, allocations: 73.27 kB / 1.348 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/1.226, allocations: 34.27 kB / 1.348 GB, free: 11.13 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006274/1.227, allocations: 454.7 kB / 1.349 GB, free: 10.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/1.227, allocations: 0 / 1.349 GB, free: 10.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001031/1.228, allocations: 324.1 kB / 1.349 GB, free: 10.85 MB / 1.029 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.001338/1.229, allocations: 0.6017 MB / 1.35 GB, free: 10.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001765/1.231, allocations: 0.8284 MB / 1.351 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.231, allocations: 192 / 1.351 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009282/1.232, allocations: 0.5185 MB / 1.351 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/1.233, allocations: 304.9 kB / 1.351 GB, free: 9.895 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/1.236, allocations: 1.659 MB / 1.353 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/1.237, allocations: 1.024 MB / 1.354 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007966/1.237, allocations: 263.9 kB / 1.354 GB, free: 8.215 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/1.238, allocations: 110.6 kB / 1.354 GB, free: 8.191 MB / 1.029 GB Notification: Performance of SimCode: time 5.81e-07/1.238, allocations: 0 / 1.354 GB, free: 8.191 MB / 1.029 GB Notification: Performance of Templates: time 0.02391/1.262, allocations: 15.32 MB / 1.369 GB, free: 0.9258 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches