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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 106.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.073/3.073, allocations: 497.2 MB / 0.7811 GB, free: 33.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 69.62 kB / 1.134 GB, free: 33.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3172, allocations: 173.9 MB / 1.304 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00731/0.3245, allocations: 4.996 MB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.173/0.4976, allocations: 151.3 MB / 1.457 GB, free: 4.699 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.4986, allocations: 19.88 kB / 1.457 GB, free: 4.68 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007892/0.4994, allocations: 202.2 kB / 1.457 GB, free: 4.48 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.5016, allocations: 0.5819 MB / 1.457 GB, free: 3.902 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.5039, allocations: 0.8407 MB / 1.458 GB, free: 3.066 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002629/0.5065, allocations: 1.46 MB / 1.46 GB, free: 1.602 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/0.5076, allocations: 425.4 kB / 1.46 GB, free: 1.16 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.5087, allocations: 0.5138 MB / 1.46 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.5099, allocations: 0.5368 MB / 1.461 GB, free: 108 kB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004348/0.5103, allocations: 120 kB / 1.461 GB, free: 15.98 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.5117, allocations: 491.5 kB / 1.462 GB, free: 15.51 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.5121, allocations: 307 kB / 1.462 GB, free: 15.21 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008586/0.513, allocations: 0.5907 MB / 1.462 GB, free: 14.61 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.5157, allocations: 1.693 MB / 1.464 GB, free: 12.91 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.5157, allocations: 0 / 1.464 GB, free: 12.91 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5157, allocations: 0 / 1.464 GB, free: 12.91 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.327e-05/0.5157, allocations: 0 / 1.464 GB, free: 12.91 MB / 1.17 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.0034/0.5191, allocations: 1.526 MB / 1.466 GB, free: 11.34 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.5192, allocations: 12.92 kB / 1.466 GB, free: 11.32 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/0.5194, allocations: 139.7 kB / 1.466 GB, free: 11.18 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.5204, allocations: 200 kB / 1.466 GB, free: 10.98 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.5219, allocations: 0.7863 MB / 1.467 GB, free: 10.16 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/0.522, allocations: 69.98 kB / 1.467 GB, free: 10.09 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.5222, allocations: 87.94 kB / 1.467 GB, free: 10 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.5241, allocations: 0.9652 MB / 1.468 GB, free: 8.996 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.5241, allocations: 0 / 1.468 GB, free: 8.996 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.882e-05/0.5242, allocations: 36 kB / 1.468 GB, free: 8.961 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.5242, allocations: 24 kB / 1.468 GB, free: 8.938 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.5261, allocations: 1.155 MB / 1.469 GB, free: 7.777 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004945/0.5311, allocations: 2.911 MB / 1.472 GB, free: 4.738 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.5327, allocations: 0.7984 MB / 1.473 GB, free: 3.938 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005783/0.5332, allocations: 306.5 kB / 1.473 GB, free: 3.633 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.48e-05/0.5333, allocations: 36.67 kB / 1.473 GB, free: 3.598 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.5343, allocations: 0.5277 MB / 1.473 GB, free: 3.055 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 3.707e-06/0.5344, allocations: 0 / 1.473 GB, free: 3.055 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003696/0.538, allocations: 1.302 MB / 1.475 GB, free: 1.727 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.5382, allocations: 200.8 kB / 1.475 GB, free: 1.488 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.5392, allocations: 0.6567 MB / 1.476 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.015e-05/0.5393, allocations: 41.7 kB / 1.476 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000393/0.5397, allocations: 413.1 kB / 1.476 GB, free: 376 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002878/0.54, allocations: 297.4 kB / 1.476 GB, free: 76 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.5403, allocations: 158.6 kB / 1.476 GB, free: 15.91 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002205/0.5405, allocations: 394.7 kB / 1.477 GB, free: 15.52 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005941/0.5411, allocations: 269.9 kB / 1.477 GB, free: 15.25 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007068/0.5418, allocations: 386.5 kB / 1.477 GB, free: 14.85 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.5431, allocations: 0.6398 MB / 1.478 GB, free: 14.2 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5431, allocations: 0 / 1.478 GB, free: 14.2 MB / 1.186 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002165/0.5452, allocations: 0.8725 MB / 1.479 GB, free: 13.32 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.5453, allocations: 11.98 kB / 1.479 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5453, allocations: 0 / 1.479 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/0.5459, allocations: 84.83 kB / 1.479 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007221/0.5466, allocations: 167.7 kB / 1.479 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.5489, allocations: 1.633 MB / 1.481 GB, free: 11.28 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008009/0.5497, allocations: 105.3 kB / 1.481 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.149e-05/0.5498, allocations: 31.97 kB / 1.481 GB, free: 11.15 MB / 1.186 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.0005108/0.5503, allocations: 269.6 kB / 1.481 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.5506, allocations: 95.42 kB / 1.481 GB, free: 10.78 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.5533, allocations: 1.168 MB / 1.482 GB, free: 9.598 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.5533, allocations: 8 kB / 1.482 GB, free: 9.59 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5533, allocations: 0 / 1.482 GB, free: 9.59 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.5533, allocations: 3.984 kB / 1.482 GB, free: 9.586 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.5546, allocations: 0.9464 MB / 1.483 GB, free: 8.59 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.5547, allocations: 3.984 kB / 1.483 GB, free: 8.586 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006345/0.5553, allocations: 151.8 kB / 1.483 GB, free: 8.438 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004609/0.5558, allocations: 76.72 kB / 1.484 GB, free: 8.359 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/0.5558, allocations: 31.91 kB / 1.484 GB, free: 8.328 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.5578, allocations: 1.654 MB / 1.485 GB, free: 6.527 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5578, allocations: 0 / 1.485 GB, free: 6.527 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.56, allocations: 1.002 MB / 1.486 GB, free: 5.5 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.5604, allocations: 284.2 kB / 1.486 GB, free: 5.203 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.5606, allocations: 35.81 kB / 1.486 GB, free: 5.168 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.5612, allocations: 71.98 kB / 1.487 GB, free: 5.098 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.5614, allocations: 80.89 kB / 1.487 GB, free: 5.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/0.5614, allocations: 35.98 kB / 1.487 GB, free: 4.984 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006362/0.5621, allocations: 479 kB / 1.487 GB, free: 4.52 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5621, allocations: 4 kB / 1.487 GB, free: 4.516 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008418/0.5629, allocations: 335.1 kB / 1.487 GB, free: 4.188 MB / 1.186 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.004188/0.5671, allocations: 2.05 MB / 1.489 GB, free: 2.297 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.5689, allocations: 0.8313 MB / 1.49 GB, free: 1.457 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5689, allocations: 0 / 1.49 GB, free: 1.457 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009911/0.5699, allocations: 0.5196 MB / 1.491 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.5711, allocations: 308.8 kB / 1.491 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.5824, allocations: 6.519 MB / 1.497 GB, free: 9.973 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007539/0.5832, allocations: 1.044 MB / 1.498 GB, free: 8.898 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008821/0.5841, allocations: 267.1 kB / 1.499 GB, free: 8.633 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005968/0.5847, allocations: 407.3 kB / 1.499 GB, free: 8.234 MB / 1.201 GB Notification: Performance of SimCode: time 1.333e-06/0.5847, allocations: 7.938 kB / 1.499 GB, free: 8.227 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06131/0.646, allocations: 22.87 MB / 1.521 GB, free: 1.68 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.29, allocations: 11.73 kB / 1.521 GB, free: 1.668 MB / 1.217 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 840.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.884560361970216]