Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_10_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_10_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.007383/0.007383, allocations: 100.7 kB / 15.73 MB, free: 6.059 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.0018/0.0018, allocations: 198.2 kB / 16.68 MB, free: 5.984 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.575/2.575, allocations: 437 MB / 0.7105 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3028, allocations: 151.6 MB / 1.167 GB, free: 6.859 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006836/0.3096, allocations: 4.914 MB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8267/1.136, allocations: 150.6 MB / 1.319 GB, free: 10.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008961/1.137, allocations: 23.06 kB / 1.319 GB, free: 10.26 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006369/1.138, allocations: 191.8 kB / 1.319 GB, free: 10.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/1.14, allocations: 0.556 MB / 1.319 GB, free: 9.91 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/1.142, allocations: 0.8447 MB / 1.32 GB, free: 9.754 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001557/1.143, allocations: 1.431 MB / 1.321 GB, free: 9.484 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008372/1.144, allocations: 0.5909 MB / 1.322 GB, free: 9.328 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006782/1.145, allocations: 0.4902 MB / 1.323 GB, free: 9.227 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006424/1.146, allocations: 0.5227 MB / 1.323 GB, free: 9.09 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002016/1.146, allocations: 117.4 kB / 1.323 GB, free: 9.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/1.147, allocations: 481 kB / 1.324 GB, free: 9.062 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/1.147, allocations: 306 kB / 1.324 GB, free: 9.004 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005568/1.148, allocations: 0.5813 MB / 1.324 GB, free: 8.613 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/1.15, allocations: 1.665 MB / 1.326 GB, free: 7.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.15, allocations: 1.594 kB / 1.326 GB, free: 7.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/1.15, allocations: 0 / 1.326 GB, free: 7.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.553e-05/1.15, allocations: 0 / 1.326 GB, free: 7.91 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00302/1.153, allocations: 1.49 MB / 1.328 GB, free: 6.891 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/1.153, allocations: 11.16 kB / 1.328 GB, free: 6.891 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/1.154, allocations: 195.5 kB / 1.328 GB, free: 6.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.156, allocations: 0.7828 MB / 1.329 GB, free: 6.309 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/1.156, allocations: 69.64 kB / 1.329 GB, free: 6.277 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.156, allocations: 83.83 kB / 1.329 GB, free: 6.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/1.157, allocations: 0.9429 MB / 1.33 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/1.158, allocations: 0 / 1.33 GB, free: 5.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/1.158, allocations: 44.03 kB / 1.33 GB, free: 5.793 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/1.158, allocations: 25 kB / 1.33 GB, free: 5.789 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/1.159, allocations: 1.121 MB / 1.331 GB, free: 5.531 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.004199/1.164, allocations: 2.726 MB / 1.333 GB, free: 3.875 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/1.165, allocations: 0.9188 MB / 1.334 GB, free: 3.457 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/1.166, allocations: 312.1 kB / 1.335 GB, free: 3.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.704e-05/1.166, allocations: 25.84 kB / 1.335 GB, free: 3.336 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000974/1.167, allocations: 0.523 MB / 1.335 GB, free: 3.117 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.166e-06/1.167, allocations: 0 / 1.335 GB, free: 3.117 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.003516/1.171, allocations: 1.254 MB / 1.336 GB, free: 2.598 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/1.171, allocations: 198 kB / 1.337 GB, free: 2.367 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009279/1.172, allocations: 0.6451 MB / 1.337 GB, free: 2.078 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.016e-05/1.172, allocations: 42.7 kB / 1.337 GB, free: 2.035 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/1.172, allocations: 408 kB / 1.338 GB, free: 1.715 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/1.172, allocations: 281.8 kB / 1.338 GB, free: 1.492 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/1.173, allocations: 168.6 kB / 1.338 GB, free: 1.418 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002047/1.173, allocations: 395.2 kB / 1.338 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005737/1.174, allocations: 277.4 kB / 1.339 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/1.174, allocations: 374.8 kB / 1.339 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/1.176, allocations: 0.6268 MB / 1.34 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.176, allocations: 0 / 1.34 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002411/1.178, allocations: 0.8807 MB / 1.341 GB, free: 168 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/1.178, allocations: 13.67 kB / 1.341 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.178, allocations: 1.312 kB / 1.341 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000648/1.179, allocations: 85.66 kB / 1.341 GB, free: 140 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/1.18, allocations: 165.2 kB / 1.341 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002295/1.182, allocations: 1.638 MB / 1.342 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009472/1.183, allocations: 96.27 kB / 1.342 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/1.183, allocations: 34.39 kB / 1.342 GB, free: 14.54 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: 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.0006549/1.184, allocations: 279.2 kB / 1.343 GB, free: 14.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/1.184, allocations: 88.69 kB / 1.343 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/1.187, allocations: 1.14 MB / 1.344 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/1.187, allocations: 12.84 kB / 1.344 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.187, allocations: 5.125 kB / 1.344 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/1.187, allocations: 4.312 kB / 1.344 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/1.19, allocations: 2.011 MB / 1.346 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.19, allocations: 1.219 kB / 1.346 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/1.191, allocations: 156.4 kB / 1.346 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/1.192, allocations: 76.09 kB / 1.346 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-05/1.192, allocations: 28.39 kB / 1.346 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/1.194, allocations: 1.656 MB / 1.348 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.194, allocations: 1.062 kB / 1.348 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/1.196, allocations: 1.05 MB / 1.349 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/1.196, allocations: 287.2 kB / 1.349 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/1.197, allocations: 18.34 kB / 1.349 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007452/1.197, allocations: 73.66 kB / 1.349 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.198, allocations: 75.64 kB / 1.349 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.423e-05/1.198, allocations: 39.02 kB / 1.349 GB, free: 10.53 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006719/1.198, allocations: 467.1 kB / 1.35 GB, free: 10.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.8e-07/1.198, allocations: 0 / 1.35 GB, free: 10.33 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001042/1.199, allocations: 335.9 kB / 1.35 GB, free: 10.24 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: 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.001379/1.201, allocations: 0.6115 MB / 1.351 GB, free: 9.969 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001881/1.203, allocations: 0.8663 MB / 1.352 GB, free: 9.613 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.203, allocations: 0 / 1.352 GB, free: 9.613 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.204, allocations: 0.5327 MB / 1.352 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/1.205, allocations: 314 kB / 1.352 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002915/1.208, allocations: 1.724 MB / 1.354 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/1.209, allocations: 1.031 MB / 1.355 GB, free: 7.637 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008697/1.209, allocations: 272.4 kB / 1.355 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/1.21, allocations: 110.2 kB / 1.355 GB, free: 7.535 MB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/1.21, allocations: 0 / 1.355 GB, free: 7.535 MB / 1.029 GB Notification: Performance of Templates: time 0.02493/1.235, allocations: 15.77 MB / 1.371 GB, free: 15.88 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches