Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001232/0.001232, 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.001416/0.001416, 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.921/2.921, allocations: 0.5003 GB / 0.8026 GB, free: 6.68 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.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_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: 65.47 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9159/0.9179, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005729/0.9236, allocations: 4.88 MB / 1.345 GB, free: 12.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1945/1.118, allocations: 154 MB / 1.495 GB, free: 8.32 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/1.119, allocations: 24.12 kB / 1.495 GB, free: 8.309 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008093/1.12, allocations: 198 kB / 1.495 GB, free: 8.133 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/1.123, allocations: 0.5646 MB / 1.496 GB, free: 7.707 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/1.125, allocations: 0.8583 MB / 1.497 GB, free: 7.059 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002283/1.128, allocations: 1.401 MB / 1.498 GB, free: 6.18 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008759/1.128, allocations: 432.5 kB / 1.499 GB, free: 5.832 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009653/1.129, allocations: 0.5061 MB / 1.499 GB, free: 5.324 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007175/1.13, allocations: 0.5115 MB / 1.5 GB, free: 4.812 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/1.13, allocations: 116 kB / 1.5 GB, free: 4.699 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/1.131, allocations: 0.5152 MB / 1.5 GB, free: 4.184 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/1.132, allocations: 303 kB / 1.501 GB, free: 3.887 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005883/1.132, allocations: 0.5675 MB / 1.501 GB, free: 3.316 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00253/1.135, allocations: 1.697 MB / 1.503 GB, free: 1.613 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.135, allocations: 0 / 1.503 GB, free: 1.613 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.473e-06/1.135, allocations: 0 / 1.503 GB, free: 1.613 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.45e-05/1.135, allocations: 0 / 1.503 GB, free: 1.613 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002942/1.138, allocations: 1.488 MB / 1.504 GB, free: 76 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/1.138, allocations: 8.031 kB / 1.504 GB, free: 68 kB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.45e-05/1.138, allocations: 22.19 kB / 1.504 GB, free: 48 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001773/1.138, allocations: 147.3 kB / 1.504 GB, free: 15.89 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/1.14, allocations: 240 kB / 1.505 GB, free: 15.66 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/1.141, allocations: 0.7861 MB / 1.505 GB, free: 14.83 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/1.141, allocations: 66 kB / 1.505 GB, free: 14.77 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/1.141, allocations: 80 kB / 1.505 GB, free: 14.69 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/1.143, allocations: 0.9222 MB / 1.506 GB, free: 13.73 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/1.143, allocations: 0 / 1.506 GB, free: 13.73 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/1.143, allocations: 32 kB / 1.506 GB, free: 13.7 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/1.143, allocations: 20 kB / 1.506 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/1.145, allocations: 1.112 MB / 1.508 GB, free: 12.56 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/1.15, allocations: 2.77 MB / 1.51 GB, free: 9.668 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001654/1.151, allocations: 0.8528 MB / 1.511 GB, free: 8.801 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005559/1.152, allocations: 278.7 kB / 1.511 GB, free: 8.527 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.047e-05/1.152, allocations: 32.61 kB / 1.511 GB, free: 8.496 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009107/1.153, allocations: 495.4 kB / 1.512 GB, free: 7.992 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.805e-06/1.153, allocations: 0 / 1.512 GB, free: 7.992 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.00337/1.156, allocations: 1.194 MB / 1.513 GB, free: 6.77 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001491/1.156, allocations: 192.5 kB / 1.513 GB, free: 6.539 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/1.157, allocations: 0.6605 MB / 1.514 GB, free: 5.867 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.947e-05/1.158, allocations: 41.7 kB / 1.514 GB, free: 5.82 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004272/1.158, allocations: 405 kB / 1.514 GB, free: 5.418 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/1.158, allocations: 269.7 kB / 1.515 GB, free: 5.152 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002857/1.159, allocations: 142.6 kB / 1.515 GB, free: 5.008 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000237/1.159, allocations: 390.7 kB / 1.515 GB, free: 4.617 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006317/1.159, allocations: 241.9 kB / 1.515 GB, free: 4.379 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008639/1.16, allocations: 362.5 kB / 1.516 GB, free: 4 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/1.161, allocations: 0.5838 MB / 1.516 GB, free: 3.402 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.161, allocations: 0 / 1.516 GB, free: 3.402 MB / 1.186 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002149/1.164, allocations: 0.8023 MB / 1.517 GB, free: 2.594 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/1.164, allocations: 8 kB / 1.517 GB, free: 2.586 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.164, allocations: 3.938 kB / 1.517 GB, free: 2.582 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006242/1.164, allocations: 84.86 kB / 1.517 GB, free: 2.496 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006724/1.165, allocations: 151.8 kB / 1.517 GB, free: 2.348 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/1.167, allocations: 1.637 MB / 1.519 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/1.168, allocations: 95.48 kB / 1.519 GB, free: 480 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/1.168, allocations: 35.98 kB / 1.519 GB, free: 444 kB / 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: 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.0004765/1.169, allocations: 271.6 kB / 1.519 GB, free: 164 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/1.169, allocations: 83.48 kB / 1.519 GB, free: 80 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/1.171, allocations: 1.066 MB / 1.52 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/1.171, allocations: 11.94 kB / 1.52 GB, free: 14.99 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/1.171, allocations: 0 / 1.52 GB, free: 14.99 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.171, allocations: 11.97 kB / 1.52 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/1.175, allocations: 1.971 MB / 1.522 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.175, allocations: 0 / 1.522 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005792/1.175, allocations: 143.8 kB / 1.522 GB, free: 12.8 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/1.176, allocations: 72.78 kB / 1.522 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.194e-05/1.176, allocations: 23.98 kB / 1.522 GB, free: 12.7 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/1.178, allocations: 1.677 MB / 1.524 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.178, allocations: 3.984 kB / 1.524 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/1.18, allocations: 0.9985 MB / 1.525 GB, free: 9.859 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/1.181, allocations: 280.2 kB / 1.525 GB, free: 9.566 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/1.181, allocations: 24 kB / 1.525 GB, free: 9.543 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006599/1.181, allocations: 64.06 kB / 1.525 GB, free: 9.48 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/1.182, allocations: 72.89 kB / 1.525 GB, free: 9.41 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/1.182, allocations: 35.97 kB / 1.526 GB, free: 9.375 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006672/1.182, allocations: 475 kB / 1.526 GB, free: 8.918 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/1.182, allocations: 0 / 1.526 GB, free: 8.918 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009312/1.183, allocations: 319.2 kB / 1.526 GB, free: 8.605 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.004288/1.188, allocations: 2.038 MB / 1.528 GB, free: 6.719 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00179/1.189, allocations: 0.7728 MB / 1.529 GB, free: 5.934 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.189, allocations: 0 / 1.529 GB, free: 5.934 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0009809/1.19, allocations: 0.4885 MB / 1.53 GB, free: 5.43 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/1.192, allocations: 315.2 kB / 1.53 GB, free: 5.141 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.203, allocations: 6.278 MB / 1.536 GB, free: 14.71 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/1.204, allocations: 1.028 MB / 1.537 GB, free: 13.65 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008716/1.204, allocations: 266.7 kB / 1.537 GB, free: 13.39 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/1.205, allocations: 375.3 kB / 1.538 GB, free: 13.02 MB / 1.217 GB Notification: Performance of SimCode: time 1.052e-06/1.205, allocations: 0 / 1.538 GB, free: 13.02 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05576/1.261, allocations: 22 MB / 1.559 GB, free: 7.332 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/15.09, allocations: 14.62 kB / 1.559 GB, free: 7.32 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.70474647899391]