Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00236/0.00236, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.203/3.203, allocations: 0.49 GB / 0.7951 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 74.73 kB / 1.154 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.332, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007596/0.3396, allocations: 5.074 MB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1883/0.5279, allocations: 154.3 MB / 1.482 GB, free: 1.922 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.5289, allocations: 23.81 kB / 1.482 GB, free: 1.898 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008244/0.5297, allocations: 202.2 kB / 1.482 GB, free: 1.699 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.532, allocations: 0.6008 MB / 1.482 GB, free: 1.098 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.5345, allocations: 0.8846 MB / 1.483 GB, free: 224 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002253/0.5367, allocations: 1.479 MB / 1.485 GB, free: 14.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009801/0.5377, allocations: 418 kB / 1.485 GB, free: 14.3 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009988/0.5387, allocations: 0.545 MB / 1.486 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009834/0.5397, allocations: 0.5445 MB / 1.486 GB, free: 13.21 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003356/0.54, allocations: 124 kB / 1.486 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.5413, allocations: 0.5191 MB / 1.487 GB, free: 12.57 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004205/0.5417, allocations: 315 kB / 1.487 GB, free: 12.26 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008391/0.5425, allocations: 0.5868 MB / 1.488 GB, free: 11.67 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003278/0.5458, allocations: 1.747 MB / 1.489 GB, free: 9.914 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5458, allocations: 0 / 1.489 GB, free: 9.914 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5458, allocations: 0 / 1.489 GB, free: 9.914 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.721e-05/0.5459, allocations: 3.938 kB / 1.489 GB, free: 9.91 MB / 1.186 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.003592/0.5494, allocations: 1.476 MB / 1.491 GB, free: 8.398 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5495, allocations: 8.031 kB / 1.491 GB, free: 8.391 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002224/0.5497, allocations: 139.7 kB / 1.491 GB, free: 8.246 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.5517, allocations: 268 kB / 1.491 GB, free: 7.984 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/0.5534, allocations: 0.7335 MB / 1.492 GB, free: 7.223 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/0.5535, allocations: 69.98 kB / 1.492 GB, free: 7.152 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.5537, allocations: 88 kB / 1.492 GB, free: 7.066 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.5556, allocations: 0.9691 MB / 1.493 GB, free: 6.059 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.5556, allocations: 3.938 kB / 1.493 GB, free: 6.055 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.585e-05/0.5557, allocations: 36 kB / 1.493 GB, free: 6.02 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.5557, allocations: 20 kB / 1.493 GB, free: 6 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.5578, allocations: 1.159 MB / 1.494 GB, free: 4.836 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005209/0.563, allocations: 2.865 MB / 1.497 GB, free: 1.844 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.5646, allocations: 0.7944 MB / 1.498 GB, free: 1.043 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.5652, allocations: 294.7 kB / 1.498 GB, free: 0.75 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.815e-05/0.5653, allocations: 40.62 kB / 1.498 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.5663, allocations: 0.5318 MB / 1.499 GB, free: 168 kB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 2.765e-06/0.5663, allocations: 0 / 1.499 GB, free: 168 kB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.003639/0.57, allocations: 1.219 MB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/0.5701, allocations: 200.9 kB / 1.5 GB, free: 14.7 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.5712, allocations: 0.6841 MB / 1.501 GB, free: 14 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.5713, allocations: 45.69 kB / 1.501 GB, free: 13.95 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004088/0.5718, allocations: 425 kB / 1.501 GB, free: 13.54 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/0.5721, allocations: 293.5 kB / 1.501 GB, free: 13.25 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.5724, allocations: 162.6 kB / 1.502 GB, free: 13.08 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.5726, allocations: 390.7 kB / 1.502 GB, free: 12.69 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.5732, allocations: 265.9 kB / 1.502 GB, free: 12.43 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/0.5739, allocations: 390.5 kB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.5752, allocations: 0.6359 MB / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5752, allocations: 0 / 1.503 GB, free: 11.38 MB / 1.201 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002291/0.5775, allocations: 0.8803 MB / 1.504 GB, free: 10.48 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.5775, allocations: 4 kB / 1.504 GB, free: 10.48 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5775, allocations: 4 kB / 1.504 GB, free: 10.48 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/0.5782, allocations: 80.83 kB / 1.504 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/0.5789, allocations: 167.8 kB / 1.504 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.5813, allocations: 1.542 MB / 1.506 GB, free: 8.566 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/0.5822, allocations: 95.41 kB / 1.506 GB, free: 8.473 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.5823, allocations: 44.03 kB / 1.506 GB, free: 8.43 MB / 1.201 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.0005627/0.5828, allocations: 263.8 kB / 1.506 GB, free: 8.164 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.5831, allocations: 95.39 kB / 1.506 GB, free: 8.07 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.5859, allocations: 1.164 MB / 1.507 GB, free: 6.895 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.5859, allocations: 15.98 kB / 1.507 GB, free: 6.879 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5859, allocations: 0 / 1.507 GB, free: 6.879 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.586, allocations: 3.984 kB / 1.507 GB, free: 6.875 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.5874, allocations: 0.9222 MB / 1.508 GB, free: 5.91 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.5874, allocations: 4 kB / 1.508 GB, free: 5.906 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006754/0.5881, allocations: 155.8 kB / 1.508 GB, free: 5.754 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004825/0.5885, allocations: 80.59 kB / 1.509 GB, free: 5.672 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.496e-05/0.5886, allocations: 31.97 kB / 1.509 GB, free: 5.641 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.5908, allocations: 1.555 MB / 1.51 GB, free: 3.961 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5908, allocations: 0 / 1.51 GB, free: 3.961 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.5933, allocations: 1.006 MB / 1.511 GB, free: 2.934 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005943/0.5939, allocations: 215 kB / 1.511 GB, free: 2.723 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00021/0.5941, allocations: 23.94 kB / 1.511 GB, free: 2.699 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007419/0.5948, allocations: 63.92 kB / 1.511 GB, free: 2.637 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/0.595, allocations: 80.84 kB / 1.511 GB, free: 2.555 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/0.5951, allocations: 43.97 kB / 1.511 GB, free: 2.512 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008056/0.5959, allocations: 499 kB / 1.512 GB, free: 2.027 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5959, allocations: 0 / 1.512 GB, free: 2.027 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001053/0.597, allocations: 335.2 kB / 1.512 GB, free: 1.699 MB / 1.201 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.004793/0.6017, allocations: 2.072 MB / 1.514 GB, free: 15.78 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002101/0.6038, allocations: 0.8273 MB / 1.515 GB, free: 14.94 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6039, allocations: 0 / 1.515 GB, free: 14.94 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.6049, allocations: 0.516 MB / 1.516 GB, free: 14.41 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.6063, allocations: 308.2 kB / 1.516 GB, free: 14.13 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.6193, allocations: 6.599 MB / 1.522 GB, free: 7.387 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00089/0.6202, allocations: 1.048 MB / 1.523 GB, free: 6.309 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009804/0.6212, allocations: 279.2 kB / 1.524 GB, free: 6.031 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000744/0.6219, allocations: 419.3 kB / 1.524 GB, free: 5.621 MB / 1.217 GB Notification: Performance of SimCode: time 1.182e-06/0.6219, allocations: 0 / 1.524 GB, free: 5.621 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1024/0.7244, allocations: 23.73 MB / 1.547 GB, free: 14.13 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.64, allocations: 19.17 kB / 1.547 GB, free: 14.12 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.4721900888253]