Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007579/0.007579, allocations: 102 kB / 15.73 MB, free: 6.039 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.001707/0.001707, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.3679, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007577/0.3755, allocations: 4.974 MB / 1.213 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.896/1.272, allocations: 150.8 MB / 1.36 GB, free: 9.086 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000994/1.273, allocations: 23.59 kB / 1.36 GB, free: 9.074 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008645/1.274, allocations: 195.2 kB / 1.36 GB, free: 8.949 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002367/1.276, allocations: 0.5682 MB / 1.361 GB, free: 8.625 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/1.279, allocations: 0.8445 MB / 1.361 GB, free: 8.191 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002302/1.281, allocations: 1.458 MB / 1.363 GB, free: 7.441 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/1.282, allocations: 0.5861 MB / 1.363 GB, free: 7.133 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/1.283, allocations: 0.5119 MB / 1.364 GB, free: 6.879 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007416/1.284, allocations: 0.5323 MB / 1.364 GB, free: 6.602 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/1.284, allocations: 120.8 kB / 1.365 GB, free: 6.602 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/1.285, allocations: 494.8 kB / 1.365 GB, free: 6.488 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003005/1.285, allocations: 311.5 kB / 1.365 GB, free: 6.289 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005417/1.286, allocations: 0.583 MB / 1.366 GB, free: 5.902 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00203/1.288, allocations: 1.682 MB / 1.368 GB, free: 5.191 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/1.288, allocations: 3.75 kB / 1.368 GB, free: 5.191 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.703e-06/1.288, allocations: 0 / 1.368 GB, free: 5.191 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.98e-05/1.288, allocations: 1.406 kB / 1.368 GB, free: 5.191 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00276/1.291, allocations: 1.468 MB / 1.369 GB, free: 4.203 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/1.291, allocations: 13.75 kB / 1.369 GB, free: 4.199 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009114/1.292, allocations: 189.2 kB / 1.369 GB, free: 4.137 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/1.293, allocations: 0.7889 MB / 1.37 GB, free: 3.621 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-05/1.293, allocations: 65.97 kB / 1.37 GB, free: 3.594 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/1.293, allocations: 87.92 kB / 1.37 GB, free: 3.566 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/1.295, allocations: 0.9692 MB / 1.371 GB, free: 3.121 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/1.295, allocations: 4.906 kB / 1.371 GB, free: 3.117 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-05/1.295, allocations: 41.5 kB / 1.371 GB, free: 3.086 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/1.295, allocations: 20.72 kB / 1.371 GB, free: 3.086 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/1.297, allocations: 1.159 MB / 1.372 GB, free: 2.652 MB / 1.061 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.004224/1.301, allocations: 2.849 MB / 1.375 GB, free: 384 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/1.303, allocations: 0.8402 MB / 1.376 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/1.303, allocations: 325.5 kB / 1.376 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.798e-05/1.303, allocations: 35.77 kB / 1.376 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009187/1.304, allocations: 0.5388 MB / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=88): time 2.574e-06/1.304, allocations: 0 / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=88): time 0.003428/1.308, allocations: 1.29 MB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.791e-05/1.308, allocations: 190.1 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/1.309, allocations: 0.6563 MB / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/1.309, allocations: 46.73 kB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/1.309, allocations: 409.5 kB / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/1.309, allocations: 283.9 kB / 1.379 GB, free: 13.48 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/1.31, allocations: 181 kB / 1.38 GB, free: 13.37 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001558/1.31, allocations: 386.2 kB / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/1.31, allocations: 291.7 kB / 1.38 GB, free: 12.86 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/1.311, allocations: 395.5 kB / 1.381 GB, free: 12.64 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/1.312, allocations: 0.6552 MB / 1.381 GB, free: 12.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.312, allocations: 4 kB / 1.381 GB, free: 12.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002098/1.314, allocations: 0.9211 MB / 1.382 GB, free: 11.81 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.314, allocations: 6.125 kB / 1.382 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.314, allocations: 5.594 kB / 1.382 GB, free: 11.81 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/1.315, allocations: 85.27 kB / 1.382 GB, free: 11.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/1.316, allocations: 176 kB / 1.382 GB, free: 11.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001957/1.318, allocations: 1.639 MB / 1.384 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000811/1.318, allocations: 102.4 kB / 1.384 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.763e-05/1.319, allocations: 40.97 kB / 1.384 GB, free: 10.04 MB / 1.076 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 (105): * Single equations (assignments): 104 * 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.0004358/1.319, allocations: 276 kB / 1.384 GB, free: 9.82 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/1.319, allocations: 85.5 kB / 1.385 GB, free: 9.777 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/1.322, allocations: 1.159 MB / 1.386 GB, free: 9.133 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/1.322, allocations: 12.94 kB / 1.386 GB, free: 9.129 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.322, allocations: 1.594 kB / 1.386 GB, free: 9.129 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/1.322, allocations: 7.969 kB / 1.386 GB, free: 9.121 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/1.323, allocations: 0.9324 MB / 1.387 GB, free: 8.414 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.323, allocations: 0 / 1.387 GB, free: 8.414 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/1.323, allocations: 159.6 kB / 1.387 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004444/1.324, allocations: 73.67 kB / 1.387 GB, free: 8.336 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/1.324, allocations: 29.67 kB / 1.387 GB, free: 8.316 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/1.326, allocations: 1.668 MB / 1.389 GB, free: 6.691 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.326, allocations: 1.062 kB / 1.389 GB, free: 6.691 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/1.328, allocations: 0.9937 MB / 1.389 GB, free: 6.164 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/1.328, allocations: 279.5 kB / 1.39 GB, free: 5.922 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/1.329, allocations: 20.84 kB / 1.39 GB, free: 5.906 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000666/1.329, allocations: 70.48 kB / 1.39 GB, free: 5.871 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/1.329, allocations: 82.36 kB / 1.39 GB, free: 5.828 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.567e-05/1.33, allocations: 40.25 kB / 1.39 GB, free: 5.812 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007106/1.33, allocations: 483 kB / 1.39 GB, free: 5.539 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.245e-06/1.33, allocations: 2.094 kB / 1.39 GB, free: 5.539 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001244/1.332, allocations: 338.8 kB / 1.391 GB, free: 5.445 MB / 1.076 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.001548/1.333, allocations: 0.6061 MB / 1.391 GB, free: 5.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001859/1.335, allocations: 0.895 MB / 1.392 GB, free: 4.695 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/1.335, allocations: 1.344 kB / 1.392 GB, free: 4.695 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009205/1.336, allocations: 0.5487 MB / 1.393 GB, free: 4.387 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/1.337, allocations: 306.6 kB / 1.393 GB, free: 4.23 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/1.34, allocations: 1.719 MB / 1.395 GB, free: 3.223 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006125/1.341, allocations: 1.042 MB / 1.396 GB, free: 2.367 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008109/1.342, allocations: 265.7 kB / 1.396 GB, free: 2.238 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/1.342, allocations: 116.3 kB / 1.396 GB, free: 2.199 MB / 1.076 GB Notification: Performance of SimCode: time 7.82e-07/1.342, allocations: 0 / 1.396 GB, free: 2.199 MB / 1.076 GB Notification: Performance of Templates: time 0.027/1.369, allocations: 16.42 MB / 1.412 GB, free: 4.988 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches