Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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.001931/0.001931, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002421/0.002421, allocations: 216.9 kB / 22.25 MB, free: 5.078 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 8.031 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.208/3.208, allocations: 0.49 GB / 0.7951 GB, free: 33.35 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.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.003243/0.003243, allocations: 72.36 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3472, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.008058/0.3552, allocations: 4.906 MB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1858/0.541, allocations: 154.1 MB / 1.481 GB, free: 2.324 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009489/0.542, allocations: 23.81 kB / 1.481 GB, free: 2.301 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008469/0.5428, allocations: 194.2 kB / 1.481 GB, free: 2.109 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.5451, allocations: 0.5673 MB / 1.482 GB, free: 1.543 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.5474, allocations: 0.8871 MB / 1.483 GB, free: 0.6641 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002047/0.5495, allocations: 1.405 MB / 1.484 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009374/0.5504, allocations: 421.7 kB / 1.485 GB, free: 14.82 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008856/0.5513, allocations: 0.4984 MB / 1.485 GB, free: 14.32 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00084/0.5521, allocations: 0.5173 MB / 1.486 GB, free: 13.8 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.5524, allocations: 116 kB / 1.486 GB, free: 13.68 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.5536, allocations: 0.5152 MB / 1.486 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003885/0.554, allocations: 307 kB / 1.486 GB, free: 12.87 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007357/0.5547, allocations: 0.5636 MB / 1.487 GB, free: 12.3 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.5575, allocations: 1.697 MB / 1.489 GB, free: 10.6 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.5576, allocations: 0 / 1.489 GB, free: 10.6 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5576, allocations: 0 / 1.489 GB, free: 10.6 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.751e-05/0.5576, allocations: 0 / 1.489 GB, free: 10.6 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003651/0.5613, allocations: 1.415 MB / 1.49 GB, free: 9.148 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.5613, allocations: 12.03 kB / 1.49 GB, free: 9.137 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002897/0.5616, allocations: 139.4 kB / 1.49 GB, free: 8.992 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.5635, allocations: 244 kB / 1.49 GB, free: 8.754 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.5651, allocations: 0.7063 MB / 1.491 GB, free: 8.02 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.486e-05/0.5652, allocations: 66 kB / 1.491 GB, free: 7.953 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.5653, allocations: 79.98 kB / 1.491 GB, free: 7.875 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.5672, allocations: 0.9223 MB / 1.492 GB, free: 6.914 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.5672, allocations: 3.938 kB / 1.492 GB, free: 6.91 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.5673, allocations: 36 kB / 1.492 GB, free: 6.875 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.5673, allocations: 20 kB / 1.492 GB, free: 6.855 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.5693, allocations: 1.112 MB / 1.493 GB, free: 5.738 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005121/0.5744, allocations: 2.713 MB / 1.496 GB, free: 2.898 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.5762, allocations: 0.7725 MB / 1.497 GB, free: 2.117 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.5768, allocations: 278.7 kB / 1.497 GB, free: 1.844 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.942e-05/0.5769, allocations: 36.59 kB / 1.497 GB, free: 1.809 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009602/0.5779, allocations: 488.8 kB / 1.497 GB, free: 1.312 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 3.056e-06/0.5779, allocations: 0 / 1.497 GB, free: 1.312 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003387/0.5813, allocations: 1.127 MB / 1.499 GB, free: 180 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.5814, allocations: 188.6 kB / 1.499 GB, free: 15.95 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.5824, allocations: 0.6489 MB / 1.499 GB, free: 15.29 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.5826, allocations: 45.7 kB / 1.499 GB, free: 15.24 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003786/0.5829, allocations: 405 kB / 1.5 GB, free: 14.84 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.5833, allocations: 277.6 kB / 1.5 GB, free: 14.57 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.5836, allocations: 142.6 kB / 1.5 GB, free: 14.42 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002403/0.5838, allocations: 390.7 kB / 1.501 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/0.5844, allocations: 249.8 kB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.585, allocations: 358.6 kB / 1.501 GB, free: 13.41 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.5862, allocations: 0.5838 MB / 1.502 GB, free: 12.82 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5862, allocations: 0 / 1.502 GB, free: 12.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002179/0.5884, allocations: 0.7985 MB / 1.503 GB, free: 12.01 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.5884, allocations: 8 kB / 1.503 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.5884, allocations: 3.938 kB / 1.503 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006568/0.5891, allocations: 84.81 kB / 1.503 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007221/0.5898, allocations: 147.8 kB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.5922, allocations: 1.557 MB / 1.504 GB, free: 10.09 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008294/0.593, allocations: 79.58 kB / 1.504 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.5931, allocations: 36.03 kB / 1.504 GB, free: 9.98 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.0005841/0.5937, allocations: 267.6 kB / 1.505 GB, free: 9.711 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.594, allocations: 91.44 kB / 1.505 GB, free: 9.621 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002658/0.5966, allocations: 1.062 MB / 1.506 GB, free: 8.543 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.5966, allocations: 15.94 kB / 1.506 GB, free: 8.527 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5967, allocations: 0 / 1.506 GB, free: 8.527 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.5967, allocations: 3.984 kB / 1.506 GB, free: 8.523 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004162/0.6008, allocations: 1.951 MB / 1.508 GB, free: 6.516 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.6008, allocations: 0 / 1.508 GB, free: 6.516 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/0.6014, allocations: 143.8 kB / 1.508 GB, free: 6.375 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/0.6019, allocations: 76.73 kB / 1.508 GB, free: 6.297 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.29e-05/0.602, allocations: 27.97 kB / 1.508 GB, free: 6.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.6042, allocations: 1.57 MB / 1.509 GB, free: 4.578 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6042, allocations: 0 / 1.509 GB, free: 4.578 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/0.6066, allocations: 0.9984 MB / 1.51 GB, free: 3.566 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/0.6072, allocations: 207 kB / 1.511 GB, free: 3.363 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/0.6074, allocations: 20 kB / 1.511 GB, free: 3.344 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007344/0.6081, allocations: 63.94 kB / 1.511 GB, free: 3.281 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.6083, allocations: 68.86 kB / 1.511 GB, free: 3.211 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.469e-05/0.6084, allocations: 40.11 kB / 1.511 GB, free: 3.172 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007848/0.6092, allocations: 471 kB / 1.511 GB, free: 2.719 MB / 1.201 GB Notification: Performance of sort global known variables: time 2e-07/0.6092, allocations: 7.938 kB / 1.511 GB, free: 2.711 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001143/0.6103, allocations: 323.2 kB / 1.512 GB, free: 2.395 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004868/0.6152, allocations: 2.048 MB / 1.514 GB, free: 0.5039 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002193/0.6174, allocations: 0.7689 MB / 1.514 GB, free: 15.72 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.6174, allocations: 4 kB / 1.514 GB, free: 15.72 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.6185, allocations: 0.4885 MB / 1.515 GB, free: 15.22 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.6201, allocations: 305.1 kB / 1.515 GB, free: 14.93 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.6334, allocations: 6.285 MB / 1.521 GB, free: 8.496 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000935/0.6344, allocations: 1.027 MB / 1.522 GB, free: 7.438 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001118/0.6355, allocations: 266.7 kB / 1.523 GB, free: 7.172 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000763/0.6363, allocations: 379.2 kB / 1.523 GB, free: 6.801 MB / 1.217 GB Notification: Performance of SimCode: time 1.082e-06/0.6363, allocations: 0 / 1.523 GB, free: 6.801 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0728/0.709, allocations: 22.51 MB / 1.545 GB, free: 0.5273 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.39, allocations: 9.141 kB / 1.545 GB, free: 0.5234 MB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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: 22.112612365046516]