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.0007917/0.0007917, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000881/0.000881, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8478/0.8478, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.689/1.689, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.459e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004299/0.004314, allocations: 4.38 MB / 1.004 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5792/0.5835, allocations: 132.7 MB / 1.134 GB, free: 15 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006662/0.5842, allocations: 23.72 kB / 1.134 GB, free: 14.99 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.5847, allocations: 201.3 kB / 1.134 GB, free: 14.85 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.5861, allocations: 0.5696 MB / 1.134 GB, free: 14.52 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.5874, allocations: 0.8887 MB / 1.135 GB, free: 14.05 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009986/0.5884, allocations: 1.464 MB / 1.137 GB, free: 13.28 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005073/0.5889, allocations: 395.9 kB / 1.137 GB, free: 13.06 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006566/0.5896, allocations: 0.747 MB / 1.138 GB, free: 12.7 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003911/0.59, allocations: 415.5 kB / 1.138 GB, free: 12.54 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.5901, allocations: 128.2 kB / 1.138 GB, free: 12.54 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005865/0.5907, allocations: 497.6 kB / 1.139 GB, free: 12.43 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.5909, allocations: 318.4 kB / 1.139 GB, free: 12.22 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000284/0.5912, allocations: 396.1 kB / 1.139 GB, free: 12.02 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.5927, allocations: 1.829 MB / 1.141 GB, free: 11.26 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5927, allocations: 1.281 kB / 1.141 GB, free: 11.26 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5927, allocations: 0 / 1.141 GB, free: 11.26 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.5927, allocations: 0 / 1.141 GB, free: 11.26 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001676/0.5944, allocations: 1.43 MB / 1.143 GB, free: 10.32 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.5944, allocations: 11.08 kB / 1.143 GB, free: 10.32 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001277/0.5946, allocations: 138.9 kB / 1.143 GB, free: 10.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008473/0.5954, allocations: 240.2 kB / 1.143 GB, free: 10.16 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009469/0.5964, allocations: 0.7266 MB / 1.144 GB, free: 9.699 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/0.5964, allocations: 68.34 kB / 1.144 GB, free: 9.672 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.162e-05/0.5965, allocations: 91.31 kB / 1.144 GB, free: 9.641 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.5977, allocations: 1.187 MB / 1.145 GB, free: 8.898 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.5977, allocations: 0.75 kB / 1.145 GB, free: 8.898 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.5978, allocations: 38.78 kB / 1.145 GB, free: 8.871 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.5978, allocations: 24.47 kB / 1.145 GB, free: 8.867 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.599, allocations: 1.069 MB / 1.146 GB, free: 8.609 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003029/0.6021, allocations: 2.372 MB / 1.148 GB, free: 7.219 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.6032, allocations: 0.8102 MB / 1.149 GB, free: 6.902 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003712/0.6035, allocations: 303.4 kB / 1.149 GB, free: 6.785 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.802e-05/0.6036, allocations: 30.17 kB / 1.149 GB, free: 6.777 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000658/0.6042, allocations: 0.6039 MB / 1.15 GB, free: 6.445 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 2.014e-06/0.6042, allocations: 0.9688 kB / 1.15 GB, free: 6.445 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.001886/0.6061, allocations: 1.171 MB / 1.151 GB, free: 6.016 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/0.6062, allocations: 203.8 kB / 1.151 GB, free: 5.785 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.6068, allocations: 0.6525 MB / 1.152 GB, free: 5.5 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/0.6069, allocations: 54.61 kB / 1.152 GB, free: 5.449 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.6071, allocations: 399.5 kB / 1.152 GB, free: 5.137 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.6073, allocations: 293.6 kB / 1.153 GB, free: 4.902 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.6075, allocations: 158 kB / 1.153 GB, free: 4.832 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6076, allocations: 392.1 kB / 1.153 GB, free: 4.484 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.608, allocations: 275.5 kB / 1.154 GB, free: 4.387 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.6085, allocations: 0.506 MB / 1.154 GB, free: 4.035 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.6092, allocations: 0.6227 MB / 1.155 GB, free: 3.746 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6092, allocations: 1.125 kB / 1.155 GB, free: 3.746 MB / 1.01 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001236/0.6105, allocations: 0.8726 MB / 1.156 GB, free: 3.387 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6105, allocations: 9.438 kB / 1.156 GB, free: 3.383 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6105, allocations: 1.703 kB / 1.156 GB, free: 3.383 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.6108, allocations: 83.3 kB / 1.156 GB, free: 3.363 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.6112, allocations: 160.2 kB / 1.156 GB, free: 3.348 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.6125, allocations: 1.534 MB / 1.157 GB, free: 1.941 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.6128, allocations: 102.8 kB / 1.157 GB, free: 1.887 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/0.6129, allocations: 33.92 kB / 1.157 GB, free: 1.879 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (98): * Single equations (assignments): 97 * 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.0002942/0.6132, allocations: 276.8 kB / 1.158 GB, free: 1.676 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.6133, allocations: 92.95 kB / 1.158 GB, free: 1.625 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.6148, allocations: 1.09 MB / 1.159 GB, free: 1.188 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.6148, allocations: 9.281 kB / 1.159 GB, free: 1.188 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6148, allocations: 1.531 kB / 1.159 GB, free: 1.188 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.6148, allocations: 5.484 kB / 1.159 GB, free: 1.188 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.6175, allocations: 2.018 MB / 1.161 GB, free: 196 kB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.6175, allocations: 9.312 kB / 1.161 GB, free: 188 kB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.6178, allocations: 142.6 kB / 1.161 GB, free: 176 kB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002226/0.618, allocations: 77.58 kB / 1.161 GB, free: 152 kB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.6181, allocations: 26.05 kB / 1.161 GB, free: 140 kB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.6192, allocations: 1.566 MB / 1.163 GB, free: 14.71 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6192, allocations: 1.438 kB / 1.163 GB, free: 14.71 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.6205, allocations: 1.033 MB / 1.164 GB, free: 14.23 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.6208, allocations: 211.9 kB / 1.164 GB, free: 14.11 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/0.6209, allocations: 20.64 kB / 1.164 GB, free: 14.1 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.6212, allocations: 61.14 kB / 1.164 GB, free: 14.09 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.6214, allocations: 76.5 kB / 1.164 GB, free: 14.08 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.6214, allocations: 36.7 kB / 1.164 GB, free: 14.07 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0004736/0.6219, allocations: 473.7 kB / 1.164 GB, free: 13.86 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.6219, allocations: 4 kB / 1.164 GB, free: 13.86 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0007197/0.6226, allocations: 324.3 kB / 1.165 GB, free: 13.77 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002411/0.625, allocations: 2.149 MB / 1.167 GB, free: 12.59 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.6261, allocations: 0.8102 MB / 1.168 GB, free: 12.25 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.6261, allocations: 1.469 kB / 1.168 GB, free: 12.25 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0005831/0.6267, allocations: 0.5012 MB / 1.168 GB, free: 12.01 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007849/0.6275, allocations: 302.2 kB / 1.168 GB, free: 11.91 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007745/0.6353, allocations: 6.527 MB / 1.175 GB, free: 8.559 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.6357, allocations: 444.5 kB / 1.175 GB, free: 8.426 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0006108/0.6363, allocations: 268.5 kB / 1.175 GB, free: 8.352 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.6367, allocations: 387.2 kB / 1.176 GB, free: 8.09 MB / 1.026 GB Notification: Performance of SimCode: time 9.21e-07/0.6367, allocations: 0 / 1.176 GB, free: 8.09 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04002/0.6767, allocations: 24.2 MB / 1.199 GB, free: 14.82 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.763, allocations: 2.281 kB / 1.199 GB, free: 14.82 MB / 1.042 GB " [Timeout remaining time 291] (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/jenkins/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: 12.777560694143176]