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.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.001694/0.001694, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00207/0.00207, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.949/2.949, allocations: 0.5003 GB / 0.8026 GB, free: 6.695 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="cs",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.003015/0.003015, allocations: 63.91 kB / 1.165 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9418/0.9448, allocations: 178.9 MB / 1.34 GB, free: 16.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006192/0.951, allocations: 5.031 MB / 1.345 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.204/1.155, allocations: 154.2 MB / 1.496 GB, free: 8.031 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/1.156, allocations: 24.5 kB / 1.496 GB, free: 8.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007337/1.157, allocations: 197.5 kB / 1.496 GB, free: 7.844 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002409/1.159, allocations: 0.6025 MB / 1.496 GB, free: 7.391 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/1.162, allocations: 0.8557 MB / 1.497 GB, free: 6.742 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002035/1.164, allocations: 1.473 MB / 1.499 GB, free: 5.801 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008525/1.165, allocations: 433.3 kB / 1.499 GB, free: 5.352 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009546/1.166, allocations: 0.5411 MB / 1.5 GB, free: 4.809 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008051/1.166, allocations: 0.5407 MB / 1.5 GB, free: 4.266 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/1.167, allocations: 124 kB / 1.5 GB, free: 4.145 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001157/1.168, allocations: 0.5191 MB / 1.501 GB, free: 3.625 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003356/1.168, allocations: 322.9 kB / 1.501 GB, free: 3.309 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006428/1.169, allocations: 0.5868 MB / 1.502 GB, free: 2.719 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002536/1.171, allocations: 1.736 MB / 1.503 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.171, allocations: 0 / 1.503 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.393e-06/1.171, allocations: 4 kB / 1.503 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.543e-05/1.171, allocations: 0 / 1.503 GB, free: 0.9727 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.003254/1.175, allocations: 1.551 MB / 1.505 GB, free: 15.37 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.175, allocations: 8.031 kB / 1.505 GB, free: 15.36 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.302e-05/1.175, allocations: 22.19 kB / 1.505 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001813/1.175, allocations: 143.6 kB / 1.505 GB, free: 15.19 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/1.177, allocations: 275.9 kB / 1.505 GB, free: 14.92 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/1.178, allocations: 0.7939 MB / 1.506 GB, free: 14.09 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/1.178, allocations: 66 kB / 1.506 GB, free: 14.02 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/1.178, allocations: 88 kB / 1.506 GB, free: 13.93 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/1.18, allocations: 0.9651 MB / 1.507 GB, free: 12.93 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/1.18, allocations: 0 / 1.507 GB, free: 12.93 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/1.18, allocations: 47.98 kB / 1.507 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/1.18, allocations: 20 kB / 1.507 GB, free: 12.86 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/1.182, allocations: 1.159 MB / 1.508 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004948/1.187, allocations: 2.926 MB / 1.511 GB, free: 8.652 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/1.189, allocations: 0.7964 MB / 1.512 GB, free: 7.855 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006002/1.19, allocations: 298.6 kB / 1.512 GB, free: 7.562 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/1.19, allocations: 32.69 kB / 1.512 GB, free: 7.531 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/1.191, allocations: 0.5293 MB / 1.513 GB, free: 6.98 MB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 2.926e-06/1.191, allocations: 0 / 1.513 GB, free: 6.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.00382/1.195, allocations: 1.31 MB / 1.514 GB, free: 5.648 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/1.195, allocations: 188.9 kB / 1.514 GB, free: 5.422 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/1.196, allocations: 0.6763 MB / 1.515 GB, free: 4.734 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/1.196, allocations: 45.7 kB / 1.515 GB, free: 4.684 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/1.197, allocations: 429.1 kB / 1.515 GB, free: 4.258 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/1.197, allocations: 289.5 kB / 1.516 GB, free: 3.973 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002823/1.197, allocations: 166.5 kB / 1.516 GB, free: 3.801 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002199/1.197, allocations: 394.7 kB / 1.516 GB, free: 3.406 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/1.198, allocations: 265.9 kB / 1.516 GB, free: 3.148 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007243/1.199, allocations: 394.5 kB / 1.517 GB, free: 2.738 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/1.2, allocations: 0.6359 MB / 1.517 GB, free: 2.09 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/1.2, allocations: 0 / 1.517 GB, free: 2.09 MB / 1.186 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002266/1.202, allocations: 0.8726 MB / 1.518 GB, free: 1.207 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.202, allocations: 4 kB / 1.518 GB, free: 1.203 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/1.202, allocations: 0 / 1.518 GB, free: 1.203 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/1.203, allocations: 84.83 kB / 1.518 GB, free: 1.117 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007491/1.204, allocations: 171.7 kB / 1.519 GB, free: 0.9492 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/1.206, allocations: 1.627 MB / 1.52 GB, free: 15.17 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008303/1.207, allocations: 99.44 kB / 1.52 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/1.207, allocations: 36.03 kB / 1.52 GB, free: 15.04 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.000511/1.207, allocations: 269.7 kB / 1.521 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/1.208, allocations: 95.44 kB / 1.521 GB, free: 14.67 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002783/1.21, allocations: 1.183 MB / 1.522 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/1.21, allocations: 8 kB / 1.522 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.21, allocations: 0 / 1.522 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/1.21, allocations: 3.984 kB / 1.522 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/1.212, allocations: 0.9427 MB / 1.523 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.212, allocations: 0 / 1.523 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000651/1.212, allocations: 163.7 kB / 1.523 GB, free: 12.31 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/1.213, allocations: 72.72 kB / 1.523 GB, free: 12.23 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.3e-05/1.213, allocations: 31.97 kB / 1.523 GB, free: 12.2 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/1.215, allocations: 1.666 MB / 1.525 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/1.215, allocations: 0 / 1.525 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/1.217, allocations: 0.9947 MB / 1.526 GB, free: 9.375 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/1.218, allocations: 292.1 kB / 1.526 GB, free: 9.07 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.218, allocations: 35.81 kB / 1.526 GB, free: 9.035 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007011/1.219, allocations: 63.92 kB / 1.526 GB, free: 8.973 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/1.219, allocations: 76.89 kB / 1.526 GB, free: 8.898 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.158e-05/1.219, allocations: 43.97 kB / 1.526 GB, free: 8.855 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007163/1.22, allocations: 499 kB / 1.527 GB, free: 8.371 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.22, allocations: 4 kB / 1.527 GB, free: 8.367 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009256/1.221, allocations: 331.2 kB / 1.527 GB, free: 8.043 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.004523/1.225, allocations: 2.062 MB / 1.529 GB, free: 6.133 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002065/1.227, allocations: 0.8312 MB / 1.53 GB, free: 5.289 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/1.227, allocations: 0 / 1.53 GB, free: 5.289 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.228, allocations: 0.5198 MB / 1.53 GB, free: 4.758 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/1.23, allocations: 308.9 kB / 1.53 GB, free: 4.484 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/1.242, allocations: 6.607 MB / 1.537 GB, free: 13.73 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000767/1.243, allocations: 1.048 MB / 1.538 GB, free: 12.64 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009928/1.244, allocations: 275.2 kB / 1.538 GB, free: 12.37 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006846/1.244, allocations: 419.2 kB / 1.539 GB, free: 11.96 MB / 1.217 GB Notification: Performance of SimCode: time 1.052e-06/1.244, allocations: 7.875 kB / 1.539 GB, free: 11.95 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07527/1.32, allocations: 23.19 MB / 1.561 GB, free: 5.117 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.39, allocations: 14.45 kB / 1.561 GB, free: 5.105 MB / 1.232 GB " [Timeout remaining time 284] (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/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: 21.994234424026217]