Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.007878/0.007879, allocations: 100.4 kB / 15.73 MB, free: 6.035 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.001853/0.001853, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.342/2.342, allocations: 390.3 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 57.34 kB / 0.9504 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2626, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00649/0.2691, allocations: 4.466 MB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1544/0.4235, allocations: 150.8 MB / 1.239 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007769/0.4243, allocations: 15.94 kB / 1.239 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007848/0.4251, allocations: 178.3 kB / 1.239 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.4274, allocations: 0.5415 MB / 1.24 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.4297, allocations: 0.8402 MB / 1.241 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.4316, allocations: 1.375 MB / 1.242 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.4326, allocations: 0.6219 MB / 1.243 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007875/0.4334, allocations: 0.4983 MB / 1.243 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007676/0.4342, allocations: 0.525 MB / 1.244 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002527/0.4345, allocations: 120 kB / 1.244 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009857/0.4354, allocations: 487.6 kB / 1.244 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003445/0.4358, allocations: 319 kB / 1.244 GB, free: 0.6523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006516/0.4365, allocations: 0.5673 MB / 1.245 GB, free: 84 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.4385, allocations: 1.656 MB / 1.247 GB, free: 14.42 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4385, allocations: 3.984 kB / 1.247 GB, free: 14.42 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4385, allocations: 0 / 1.247 GB, free: 14.42 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.126e-05/0.4386, allocations: 4 kB / 1.247 GB, free: 14.41 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002966/0.4415, allocations: 1.468 MB / 1.248 GB, free: 12.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4416, allocations: 12.03 kB / 1.248 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001848/0.4418, allocations: 139.7 kB / 1.248 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009908/0.4428, allocations: 191.3 kB / 1.248 GB, free: 12.55 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.444, allocations: 0.7778 MB / 1.249 GB, free: 11.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.739e-05/0.4441, allocations: 69.98 kB / 1.249 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.4442, allocations: 84 kB / 1.249 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.4458, allocations: 0.9691 MB / 1.25 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.4459, allocations: 0 / 1.25 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.024e-05/0.446, allocations: 39.98 kB / 1.25 GB, free: 10.53 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.446, allocations: 20 kB / 1.25 GB, free: 10.51 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.4479, allocations: 1.159 MB / 1.251 GB, free: 9.348 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/0.4519, allocations: 2.663 MB / 1.254 GB, free: 6.613 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.4534, allocations: 0.8363 MB / 1.255 GB, free: 5.777 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005425/0.454, allocations: 322.7 kB / 1.255 GB, free: 5.461 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.551e-05/0.4541, allocations: 36.67 kB / 1.255 GB, free: 5.426 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008741/0.455, allocations: 0.5314 MB / 1.256 GB, free: 4.871 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 2.975e-06/0.455, allocations: 0 / 1.256 GB, free: 4.871 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003205/0.4582, allocations: 1.286 MB / 1.257 GB, free: 3.562 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.4583, allocations: 204.8 kB / 1.257 GB, free: 3.316 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/0.4591, allocations: 0.645 MB / 1.258 GB, free: 2.668 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.894e-05/0.4592, allocations: 45.7 kB / 1.258 GB, free: 2.617 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.4595, allocations: 412.3 kB / 1.258 GB, free: 2.207 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.4598, allocations: 272 kB / 1.258 GB, free: 1.938 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.46, allocations: 166.5 kB / 1.259 GB, free: 1.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4602, allocations: 386.8 kB / 1.259 GB, free: 1.383 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.4608, allocations: 277.8 kB / 1.259 GB, free: 1.113 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/0.4615, allocations: 382.5 kB / 1.26 GB, free: 0.707 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.4626, allocations: 0.6398 MB / 1.26 GB, free: 60 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.4627, allocations: 0 / 1.26 GB, free: 60 kB / 1.014 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.5212/0.9838, allocations: 0.8651 MB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.9839, allocations: 5.891 kB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.9839, allocations: 0.8125 kB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/0.9846, allocations: 86.72 kB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/0.9853, allocations: 168.7 kB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.987, allocations: 1.631 MB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.9877, allocations: 92.08 kB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.367e-05/0.9878, allocations: 35.52 kB / 1.263 GB, free: 172.2 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: 18 (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 (97): * Single equations (assignments): 96 * 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.0004133/0.9882, allocations: 278.2 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.9884, allocations: 88.11 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/0.9911, allocations: 1.171 MB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.9911, allocations: 9.938 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.9911, allocations: 3.188 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.9911, allocations: 9.094 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.9924, allocations: 0.9358 MB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.9924, allocations: 0.5625 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006869/0.9931, allocations: 156.9 kB / 1.266 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/0.9935, allocations: 74.16 kB / 1.266 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/0.9936, allocations: 30.53 kB / 1.266 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.9952, allocations: 1.656 MB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9953, allocations: 0.5625 kB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.9973, allocations: 0.9997 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.9977, allocations: 279 kB / 1.269 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.9978, allocations: 25.44 kB / 1.269 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.9984, allocations: 71.41 kB / 1.269 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.9986, allocations: 78.78 kB / 1.269 GB, free: 169.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.775e-05/0.9987, allocations: 39.17 kB / 1.269 GB, free: 169.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000622/0.9993, allocations: 484.6 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9994, allocations: 3.828 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008793/1, allocations: 319.5 kB / 1.27 GB, free: 169.1 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: 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.003481/1.004, allocations: 2.051 MB / 1.272 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001822/1.006, allocations: 0.8583 MB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.006, allocations: 4.562 kB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/1.007, allocations: 0.5402 MB / 1.273 GB, free: 167.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/1.008, allocations: 297.2 kB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.019, allocations: 6.597 MB / 1.28 GB, free: 164.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/1.019, allocations: 1.045 MB / 1.281 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007997/1.02, allocations: 276.9 kB / 1.281 GB, free: 163.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005034/1.021, allocations: 405.6 kB / 1.281 GB, free: 163.1 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.021, allocations: 0 / 1.281 GB, free: 163.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/1.067, allocations: 22.34 MB / 1.303 GB, free: 155.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.69, allocations: 9.984 kB / 1.303 GB, free: 155.7 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches