Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001377/0.001377, allocations: 116.8 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.001641/0.001641, allocations: 209.5 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.961/2.961, allocations: 0.5003 GB / 0.8026 GB, free: 6.766 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.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001992/0.001992, allocations: 67.89 kB / 1.165 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9594/0.9614, allocations: 178.9 MB / 1.34 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00776/0.9691, allocations: 4.977 MB / 1.345 GB, free: 9.859 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1987/1.168, allocations: 154 MB / 1.495 GB, free: 4.598 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/1.169, allocations: 19.88 kB / 1.495 GB, free: 4.578 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007397/1.17, allocations: 202.1 kB / 1.496 GB, free: 4.379 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002326/1.172, allocations: 0.5743 MB / 1.496 GB, free: 3.805 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/1.175, allocations: 0.8768 MB / 1.497 GB, free: 2.934 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002154/1.177, allocations: 1.452 MB / 1.498 GB, free: 1.473 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008253/1.178, allocations: 429.3 kB / 1.499 GB, free: 1.027 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008911/1.179, allocations: 0.5256 MB / 1.499 GB, free: 0.5 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007055/1.179, allocations: 0.5352 MB / 1.5 GB, free: 15.96 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001746/1.179, allocations: 120 kB / 1.5 GB, free: 15.84 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/1.181, allocations: 0.5112 MB / 1.5 GB, free: 15.34 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/1.181, allocations: 311 kB / 1.501 GB, free: 15.03 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005642/1.182, allocations: 0.5713 MB / 1.501 GB, free: 14.46 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002418/1.184, allocations: 1.724 MB / 1.503 GB, free: 12.73 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.184, allocations: 0 / 1.503 GB, free: 12.73 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.593e-06/1.184, allocations: 4 kB / 1.503 GB, free: 12.72 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.714e-05/1.184, allocations: 0 / 1.503 GB, free: 12.72 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00315/1.187, allocations: 1.531 MB / 1.505 GB, free: 11.14 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.187, allocations: 15.95 kB / 1.505 GB, free: 11.12 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.17e-05/1.187, allocations: 26.19 kB / 1.505 GB, free: 11.1 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/1.187, allocations: 131.5 kB / 1.505 GB, free: 10.96 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001785/1.189, allocations: 256 kB / 1.505 GB, free: 10.71 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/1.191, allocations: 0.7899 MB / 1.506 GB, free: 9.879 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.297e-05/1.191, allocations: 70 kB / 1.506 GB, free: 9.809 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/1.191, allocations: 80 kB / 1.506 GB, free: 9.73 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/1.193, allocations: 0.9418 MB / 1.507 GB, free: 8.75 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/1.193, allocations: 3.938 kB / 1.507 GB, free: 8.746 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.216e-05/1.193, allocations: 39.98 kB / 1.507 GB, free: 8.707 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/1.193, allocations: 20 kB / 1.507 GB, free: 8.688 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/1.195, allocations: 1.12 MB / 1.508 GB, free: 7.566 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/1.199, allocations: 2.791 MB / 1.511 GB, free: 4.648 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/1.201, allocations: 0.8524 MB / 1.511 GB, free: 3.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/1.201, allocations: 295.7 kB / 1.512 GB, free: 3.48 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-05/1.201, allocations: 32.69 kB / 1.512 GB, free: 3.445 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000971/1.202, allocations: 0.5136 MB / 1.512 GB, free: 2.918 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 2.594e-06/1.202, allocations: 4 kB / 1.512 GB, free: 2.914 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.003535/1.206, allocations: 1.251 MB / 1.514 GB, free: 1.637 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.206, allocations: 200.8 kB / 1.514 GB, free: 1.398 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.207, allocations: 0.6685 MB / 1.514 GB, free: 0.7188 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.538e-05/1.207, allocations: 45.64 kB / 1.514 GB, free: 0.668 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/1.208, allocations: 413.1 kB / 1.515 GB, free: 264 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/1.208, allocations: 285.5 kB / 1.515 GB, free: 15.97 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/1.208, allocations: 154.5 kB / 1.515 GB, free: 15.82 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002184/1.208, allocations: 390.8 kB / 1.516 GB, free: 15.43 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/1.209, allocations: 257.9 kB / 1.516 GB, free: 15.18 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006569/1.21, allocations: 366.5 kB / 1.516 GB, free: 14.79 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/1.211, allocations: 0.6008 MB / 1.517 GB, free: 14.18 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.211, allocations: 4 kB / 1.517 GB, free: 14.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00209/1.213, allocations: 0.8374 MB / 1.518 GB, free: 13.33 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.213, allocations: 7.938 kB / 1.518 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.213, allocations: 0 / 1.518 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/1.213, allocations: 80.86 kB / 1.518 GB, free: 13.24 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/1.214, allocations: 163.8 kB / 1.518 GB, free: 13.08 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/1.216, allocations: 1.625 MB / 1.519 GB, free: 11.31 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008427/1.217, allocations: 107.5 kB / 1.52 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/1.217, allocations: 31.92 kB / 1.52 GB, free: 11.17 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 (91): * Single equations (assignments): 90 * 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.0005535/1.218, allocations: 261.7 kB / 1.52 GB, free: 10.91 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/1.218, allocations: 95.44 kB / 1.52 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/1.221, allocations: 1.144 MB / 1.521 GB, free: 9.656 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/1.221, allocations: 8 kB / 1.521 GB, free: 9.648 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/1.221, allocations: 0 / 1.521 GB, free: 9.648 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.221, allocations: 7.984 kB / 1.521 GB, free: 9.641 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003767/1.225, allocations: 2.033 MB / 1.523 GB, free: 7.547 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.225, allocations: 0 / 1.523 GB, free: 7.547 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/1.225, allocations: 155.8 kB / 1.523 GB, free: 7.395 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000447/1.226, allocations: 72.78 kB / 1.523 GB, free: 7.32 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/1.226, allocations: 27.98 kB / 1.523 GB, free: 7.293 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/1.228, allocations: 1.65 MB / 1.525 GB, free: 5.492 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/1.228, allocations: 4.031 kB / 1.525 GB, free: 5.488 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/1.23, allocations: 1.053 MB / 1.526 GB, free: 4.418 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005177/1.231, allocations: 288.1 kB / 1.526 GB, free: 4.117 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/1.231, allocations: 28.05 kB / 1.526 GB, free: 4.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007054/1.232, allocations: 71.86 kB / 1.526 GB, free: 4.02 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/1.232, allocations: 80.83 kB / 1.526 GB, free: 3.938 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-05/1.232, allocations: 39.98 kB / 1.526 GB, free: 3.898 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006783/1.233, allocations: 487 kB / 1.527 GB, free: 3.43 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.233, allocations: 0 / 1.527 GB, free: 3.43 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001019/1.234, allocations: 335.1 kB / 1.527 GB, free: 3.102 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * 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.004547/1.238, allocations: 2.107 MB / 1.529 GB, free: 1.152 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002089/1.24, allocations: 0.8077 MB / 1.53 GB, free: 340 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.24, allocations: 7.984 kB / 1.53 GB, free: 332 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/1.241, allocations: 0.5121 MB / 1.531 GB, free: 15.8 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/1.243, allocations: 292 kB / 1.531 GB, free: 15.53 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.255, allocations: 6.47 MB / 1.537 GB, free: 8.91 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007156/1.256, allocations: 1.04 MB / 1.538 GB, free: 7.84 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008836/1.257, allocations: 275 kB / 1.538 GB, free: 7.566 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/1.257, allocations: 422 kB / 1.539 GB, free: 7.156 MB / 1.217 GB Notification: Performance of SimCode: time 9.91e-07/1.257, allocations: 0 / 1.539 GB, free: 7.156 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07107/1.328, allocations: 22.68 MB / 1.561 GB, free: 0.8125 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/14.72, allocations: 5.719 kB / 1.561 GB, free: 0.8086 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.417533353029285]