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.0134/0.0134, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002359/0.002359, allocations: 194.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.205/2.205, allocations: 222.9 MB / 240.4 MB, free: 4.316 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 3.08/3.08, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 62.78 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3675, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007442/0.375, allocations: 4.479 MB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2381/0.6131, allocations: 150.7 MB / 1.239 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.6145, allocations: 19.88 kB / 1.239 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.6156, allocations: 182.3 kB / 1.239 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.6189, allocations: 0.5361 MB / 1.24 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.6223, allocations: 0.8319 MB / 1.241 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002943/0.6253, allocations: 1.371 MB / 1.242 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.6271, allocations: 0.6297 MB / 1.243 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.6285, allocations: 0.5021 MB / 1.243 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.6298, allocations: 0.5173 MB / 1.244 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000433/0.6302, allocations: 120 kB / 1.244 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.6318, allocations: 491.6 kB / 1.244 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005559/0.6324, allocations: 319 kB / 1.244 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.6336, allocations: 0.5634 MB / 1.245 GB, free: 64 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.6363, allocations: 1.663 MB / 1.247 GB, free: 14.39 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.6364, allocations: 0 / 1.247 GB, free: 14.39 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6364, allocations: 4 kB / 1.247 GB, free: 14.39 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.978e-05/0.6364, allocations: 3.938 kB / 1.247 GB, free: 14.39 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.003373/0.6398, allocations: 1.464 MB / 1.248 GB, free: 12.87 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6399, allocations: 12.03 kB / 1.248 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.64, allocations: 139.7 kB / 1.248 GB, free: 12.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009886/0.641, allocations: 191.3 kB / 1.248 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6425, allocations: 0.7895 MB / 1.249 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.6426, allocations: 66 kB / 1.249 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.6427, allocations: 83.94 kB / 1.249 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.6444, allocations: 0.9691 MB / 1.25 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.6444, allocations: 0 / 1.25 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-05/0.6445, allocations: 36 kB / 1.25 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.05e-05/0.6445, allocations: 20 kB / 1.25 GB, free: 10.48 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.6467, allocations: 1.159 MB / 1.251 GB, free: 9.32 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/0.6516, allocations: 2.652 MB / 1.254 GB, free: 6.598 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.6534, allocations: 0.8407 MB / 1.255 GB, free: 5.758 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006046/0.654, allocations: 318.7 kB / 1.255 GB, free: 5.445 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.6542, allocations: 36.67 kB / 1.255 GB, free: 5.41 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001014/0.6552, allocations: 0.543 MB / 1.256 GB, free: 4.844 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 3.777e-06/0.6552, allocations: 0 / 1.256 GB, free: 4.844 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003523/0.6587, allocations: 1.282 MB / 1.257 GB, free: 3.539 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.6589, allocations: 200.8 kB / 1.257 GB, free: 3.297 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.6599, allocations: 0.6489 MB / 1.258 GB, free: 2.645 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.68e-05/0.66, allocations: 45.69 kB / 1.258 GB, free: 2.594 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.6605, allocations: 412.3 kB / 1.258 GB, free: 2.184 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.6608, allocations: 276 kB / 1.258 GB, free: 1.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.6611, allocations: 158.5 kB / 1.259 GB, free: 1.75 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.6613, allocations: 398.7 kB / 1.259 GB, free: 1.352 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.6619, allocations: 265.9 kB / 1.259 GB, free: 1.094 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/0.6627, allocations: 386.5 kB / 1.26 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.6642, allocations: 0.6359 MB / 1.26 GB, free: 40 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.6642, allocations: 0 / 1.26 GB, free: 40 kB / 1.014 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.6281/1.292, allocations: 0.8665 MB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.292, allocations: 6.531 kB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/1.292, allocations: 0.7812 kB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/1.293, allocations: 85.34 kB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007267/1.294, allocations: 167 kB / 1.261 GB, free: 173.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/1.296, allocations: 1.632 MB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000783/1.296, allocations: 103.3 kB / 1.263 GB, free: 172.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/1.296, allocations: 34.61 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.0004752/1.297, allocations: 276.8 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/1.297, allocations: 85.44 kB / 1.263 GB, free: 172.1 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002811/1.3, allocations: 1.169 MB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.3, allocations: 15.5 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.3, allocations: 0.6094 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/1.3, allocations: 10.12 kB / 1.265 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/1.301, allocations: 0.9362 MB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.301, allocations: 1 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/1.302, allocations: 157 kB / 1.266 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004828/1.302, allocations: 72.47 kB / 1.266 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.237e-05/1.303, allocations: 27.52 kB / 1.266 GB, free: 171.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/1.304, allocations: 1.662 MB / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.304, allocations: 0 / 1.267 GB, free: 170.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00268/1.307, allocations: 1.001 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005199/1.308, allocations: 282.2 kB / 1.269 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/1.308, allocations: 20.02 kB / 1.269 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/1.309, allocations: 75.31 kB / 1.269 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/1.309, allocations: 73.64 kB / 1.269 GB, free: 169.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.309, allocations: 38.89 kB / 1.269 GB, free: 169.4 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009006/1.31, allocations: 489.5 kB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.31e-07/1.31, allocations: 0 / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001375/1.311, allocations: 324.1 kB / 1.27 GB, free: 169.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: 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.004178/1.315, allocations: 2.047 MB / 1.272 GB, free: 168.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002098/1.317, allocations: 0.8661 MB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.317, allocations: 1 kB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/1.319, allocations: 0.5404 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.001402/1.32, allocations: 297.7 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.01257/1.333, allocations: 6.592 MB / 1.28 GB, free: 164.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/1.333, allocations: 1.046 MB / 1.281 GB, free: 163.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001028/1.334, allocations: 271.1 kB / 1.281 GB, free: 163.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/1.335, allocations: 405.5 kB / 1.281 GB, free: 163.1 MB / 1.014 GB Notification: Performance of SimCode: time 9.02e-07/1.335, allocations: 0 / 1.281 GB, free: 163.1 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.459/2.795, allocations: 22.79 MB / 1.304 GB, free: 155.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.36/29.15, allocations: 6.375 kB / 1.304 GB, free: 155.4 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