Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007007/0.007006, allocations: 100.3 kB / 15.73 MB, free: 6.48 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.001302/0.001302, allocations: 194.6 kB / 16.67 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.44/2.44, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 58.42 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4731/0.4752, allocations: 140.4 MB / 1.087 GB, free: 2.027 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.01168/0.487, allocations: 5.447 MB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2336/0.7207, allocations: 151.1 MB / 1.24 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001878/0.7226, allocations: 19.88 kB / 1.24 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.7239, allocations: 209.9 kB / 1.241 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.7271, allocations: 0.6738 MB / 1.241 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002941/0.7301, allocations: 0.9872 MB / 1.242 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003227/0.7333, allocations: 1.904 MB / 1.244 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.7351, allocations: 1.072 MB / 1.245 GB, free: 15.93 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.7367, allocations: 0.8095 MB / 1.246 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.7381, allocations: 0.8673 MB / 1.247 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.7384, allocations: 208 kB / 1.247 GB, free: 14.05 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.7399, allocations: 0.5543 MB / 1.247 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005263/0.7405, allocations: 494.4 kB / 1.248 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.7416, allocations: 0.9017 MB / 1.249 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005629/0.7472, allocations: 2.489 MB / 1.251 GB, free: 9.609 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.7473, allocations: 0 / 1.251 GB, free: 9.609 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.555e-06/0.7473, allocations: 4 kB / 1.251 GB, free: 9.605 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001003/0.7475, allocations: 0 / 1.251 GB, free: 9.605 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.007249/0.7547, allocations: 2.035 MB / 1.253 GB, free: 7.508 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.7548, allocations: 12.03 kB / 1.253 GB, free: 7.496 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003084/0.7551, allocations: 228 kB / 1.253 GB, free: 7.262 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.7563, allocations: 254.5 kB / 1.254 GB, free: 7.012 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.7583, allocations: 0.9926 MB / 1.255 GB, free: 5.977 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001116/0.7584, allocations: 115 kB / 1.255 GB, free: 5.863 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.7586, allocations: 152 kB / 1.255 GB, free: 5.715 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/0.7618, allocations: 1.584 MB / 1.256 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.7618, allocations: 0 / 1.256 GB, free: 4.074 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001548/0.762, allocations: 64 kB / 1.257 GB, free: 4.012 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.7621, allocations: 36 kB / 1.257 GB, free: 3.977 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003026/0.7651, allocations: 1.631 MB / 1.258 GB, free: 2.34 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7122/1.477, allocations: 4.077 MB / 1.262 GB, free: 171.7 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/1.48, allocations: 1.192 MB / 1.263 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00109/1.482, allocations: 478.6 kB / 1.264 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/1.482, allocations: 48.58 kB / 1.264 GB, free: 171.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001995/1.484, allocations: 0.7778 MB / 1.265 GB, free: 171.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=128): time 3.797e-06/1.484, allocations: 0 / 1.265 GB, free: 171.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=128): time 0.006068/1.49, allocations: 1.836 MB / 1.266 GB, free: 170.6 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.49, allocations: 201 kB / 1.267 GB, free: 170.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/1.492, allocations: 0.8639 MB / 1.267 GB, free: 170 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/1.492, allocations: 49.8 kB / 1.267 GB, free: 169.9 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000717/1.493, allocations: 0.6157 MB / 1.268 GB, free: 169.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004322/1.493, allocations: 412 kB / 1.268 GB, free: 169.2 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005893/1.494, allocations: 233.7 kB / 1.269 GB, free: 169.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.494, allocations: 356.1 kB / 1.269 GB, free: 168.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/1.495, allocations: 425.1 kB / 1.269 GB, free: 168.6 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/1.497, allocations: 0.558 MB / 1.27 GB, free: 168.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/1.499, allocations: 0.9568 MB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.499, allocations: 3.188 kB / 1.271 GB, free: 167.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004389/1.504, allocations: 1.28 MB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/1.504, allocations: 7.812 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.504, allocations: 1.828 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007199/1.504, allocations: 88.11 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.506, allocations: 260.8 kB / 1.272 GB, free: 167.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002586/1.508, allocations: 1.639 MB / 1.274 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/1.51, allocations: 144.3 kB / 1.274 GB, free: 165.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.51, allocations: 54.19 kB / 1.274 GB, free: 165.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0009407/1.511, allocations: 350.7 kB / 1.275 GB, free: 165.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000331/1.511, allocations: 121 kB / 1.275 GB, free: 165.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/1.516, allocations: 1.707 MB / 1.276 GB, free: 164.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/1.516, allocations: 14.09 kB / 1.276 GB, free: 164.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.516, allocations: 3.938 kB / 1.276 GB, free: 164.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/1.516, allocations: 10.45 kB / 1.276 GB, free: 164.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003191/1.519, allocations: 1.406 MB / 1.278 GB, free: 164.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.519, allocations: 0 / 1.278 GB, free: 164.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/1.52, allocations: 219.6 kB / 1.278 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005406/1.521, allocations: 70.55 kB / 1.278 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/1.521, allocations: 39.09 kB / 1.278 GB, free: 164.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/1.523, allocations: 1.677 MB / 1.28 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.523, allocations: 0 / 1.28 GB, free: 162.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/1.526, allocations: 1.409 MB / 1.281 GB, free: 162 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007885/1.527, allocations: 373.6 kB / 1.281 GB, free: 161.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/1.527, allocations: 44.34 kB / 1.282 GB, free: 161.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/1.528, allocations: 88.56 kB / 1.282 GB, free: 161.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/1.529, allocations: 113.8 kB / 1.282 GB, free: 161.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.529, allocations: 56.5 kB / 1.282 GB, free: 161.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001174/1.53, allocations: 0.6529 MB / 1.282 GB, free: 161.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.743e-06/1.53, allocations: 0 / 1.282 GB, free: 161.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001697/1.532, allocations: 456.8 kB / 1.283 GB, free: 161.2 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004999/1.537, allocations: 2.478 MB / 1.285 GB, free: 160 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002979/1.54, allocations: 1.236 MB / 1.286 GB, free: 159.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.54, allocations: 0 / 1.286 GB, free: 159.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/1.541, allocations: 0.7436 MB / 1.287 GB, free: 159.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/1.543, allocations: 327.1 kB / 1.288 GB, free: 159.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02034/1.563, allocations: 9.382 MB / 1.297 GB, free: 154.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/1.565, allocations: 1.233 MB / 1.298 GB, free: 153.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001527/1.566, allocations: 331.3 kB / 1.298 GB, free: 153.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009523/1.567, allocations: 0.6292 MB / 1.299 GB, free: 153.4 MB / 1.014 GB Notification: Performance of SimCode: time 1.223e-06/1.567, allocations: 0 / 1.299 GB, free: 153.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7403/2.307, allocations: 30.85 MB / 1.329 GB, free: 130.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.87/30.18, allocations: 11.81 kB / 1.329 GB, free: 130.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches