Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 107.7 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.91 kB / 1.056 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7095/0.7114, allocations: 160.7 MB / 1.213 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007095/0.7185, allocations: 4.998 MB / 1.218 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1746/0.8931, allocations: 151.3 MB / 1.366 GB, free: 11.38 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.8943, allocations: 15.94 kB / 1.366 GB, free: 11.37 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009528/0.8953, allocations: 190.1 kB / 1.366 GB, free: 11.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.898, allocations: 0.5785 MB / 1.366 GB, free: 10.6 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.9007, allocations: 0.8525 MB / 1.367 GB, free: 9.754 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002545/0.9032, allocations: 1.452 MB / 1.369 GB, free: 8.293 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.9044, allocations: 425.4 kB / 1.369 GB, free: 7.852 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.9057, allocations: 0.5099 MB / 1.369 GB, free: 7.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.907, allocations: 0.5445 MB / 1.37 GB, free: 6.793 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0004901/0.9075, allocations: 120 kB / 1.37 GB, free: 6.676 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.9092, allocations: 491.6 kB / 1.371 GB, free: 6.195 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006175/0.9098, allocations: 314.9 kB / 1.371 GB, free: 5.887 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000997/0.9108, allocations: 0.5752 MB / 1.371 GB, free: 5.309 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.9134, allocations: 1.697 MB / 1.373 GB, free: 3.605 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.9134, allocations: 0 / 1.373 GB, free: 3.605 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9134, allocations: 0 / 1.373 GB, free: 3.605 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.9134, allocations: 4 kB / 1.373 GB, free: 3.602 MB / 1.076 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.00285/0.9162, allocations: 1.52 MB / 1.375 GB, free: 2.027 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.9163, allocations: 8.625 kB / 1.375 GB, free: 2.02 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/0.9165, allocations: 143.7 kB / 1.375 GB, free: 1.871 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009201/0.9174, allocations: 196 kB / 1.375 GB, free: 1.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.9187, allocations: 0.7901 MB / 1.376 GB, free: 0.8477 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/0.9188, allocations: 69.98 kB / 1.376 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.9189, allocations: 84 kB / 1.376 GB, free: 0.6953 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.9206, allocations: 0.9652 MB / 1.377 GB, free: 15.69 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.9206, allocations: 0 / 1.377 GB, free: 15.69 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.596e-05/0.9207, allocations: 39.98 kB / 1.377 GB, free: 15.65 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.9207, allocations: 20 kB / 1.377 GB, free: 15.63 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.9226, allocations: 1.155 MB / 1.378 GB, free: 14.47 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004614/0.9272, allocations: 2.863 MB / 1.381 GB, free: 11.5 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.9288, allocations: 0.8007 MB / 1.381 GB, free: 10.7 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.9294, allocations: 298.7 kB / 1.382 GB, free: 10.4 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.052e-05/0.9295, allocations: 32.69 kB / 1.382 GB, free: 10.37 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009792/0.9304, allocations: 0.5371 MB / 1.382 GB, free: 9.816 MB / 1.092 GB Notification: Performance of pre-optimization done (n=88): time 4.909e-06/0.9305, allocations: 4 kB / 1.382 GB, free: 9.812 MB / 1.092 GB Notification: Performance of matching and sorting (n=88): time 0.003508/0.934, allocations: 1.302 MB / 1.384 GB, free: 8.48 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002047/0.9342, allocations: 196.9 kB / 1.384 GB, free: 8.246 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00094/0.9351, allocations: 0.649 MB / 1.384 GB, free: 7.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 7.717e-05/0.9352, allocations: 41.7 kB / 1.384 GB, free: 7.543 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003805/0.9356, allocations: 417.1 kB / 1.385 GB, free: 7.129 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.9358, allocations: 293.5 kB / 1.385 GB, free: 6.84 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.9361, allocations: 166.5 kB / 1.385 GB, free: 6.672 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002124/0.9363, allocations: 390.7 kB / 1.386 GB, free: 6.281 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005721/0.9369, allocations: 273.9 kB / 1.386 GB, free: 6.012 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000689/0.9376, allocations: 394.5 kB / 1.386 GB, free: 5.602 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.9388, allocations: 0.6359 MB / 1.387 GB, free: 4.957 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9388, allocations: 0 / 1.387 GB, free: 4.957 MB / 1.092 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002129/0.941, allocations: 0.8648 MB / 1.388 GB, free: 4.078 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.941, allocations: 8 kB / 1.388 GB, free: 4.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.941, allocations: 0 / 1.388 GB, free: 4.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.9416, allocations: 88.77 kB / 1.388 GB, free: 3.98 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/0.9423, allocations: 167.8 kB / 1.388 GB, free: 3.816 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.9446, allocations: 1.623 MB / 1.39 GB, free: 2.047 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007719/0.9454, allocations: 110 kB / 1.39 GB, free: 1.941 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.699e-05/0.9455, allocations: 31.97 kB / 1.39 GB, free: 1.91 MB / 1.092 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.0005143/0.946, allocations: 277.5 kB / 1.39 GB, free: 1.629 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.9462, allocations: 95.39 kB / 1.39 GB, free: 1.535 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.9489, allocations: 1.16 MB / 1.391 GB, free: 368 kB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.9489, allocations: 8 kB / 1.391 GB, free: 360 kB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.9489, allocations: 0 / 1.391 GB, free: 360 kB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.9489, allocations: 11.97 kB / 1.391 GB, free: 348 kB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.9502, allocations: 0.9581 MB / 1.392 GB, free: 15.33 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.9502, allocations: 0 / 1.392 GB, free: 15.33 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/0.9509, allocations: 151.8 kB / 1.392 GB, free: 15.18 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/0.9513, allocations: 76.72 kB / 1.392 GB, free: 15.11 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.9514, allocations: 27.98 kB / 1.392 GB, free: 15.08 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.9535, allocations: 1.654 MB / 1.394 GB, free: 13.28 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9535, allocations: 0 / 1.394 GB, free: 13.28 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002116/0.9556, allocations: 1.006 MB / 1.395 GB, free: 12.25 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.956, allocations: 288.1 kB / 1.395 GB, free: 11.95 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.9562, allocations: 23.92 kB / 1.395 GB, free: 11.93 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006466/0.9568, allocations: 66.61 kB / 1.395 GB, free: 11.86 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.957, allocations: 80.89 kB / 1.395 GB, free: 11.79 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/0.957, allocations: 39.97 kB / 1.396 GB, free: 11.75 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006345/0.9577, allocations: 479 kB / 1.396 GB, free: 11.28 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.9577, allocations: 0 / 1.396 GB, free: 11.28 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008383/0.9585, allocations: 339.2 kB / 1.396 GB, free: 10.95 MB / 1.107 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.004324/0.9628, allocations: 2.064 MB / 1.398 GB, free: 9.039 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001863/0.9647, allocations: 0.8274 MB / 1.399 GB, free: 8.199 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9647, allocations: 0 / 1.399 GB, free: 8.199 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0009994/0.9657, allocations: 0.5158 MB / 1.4 GB, free: 7.672 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.9669, allocations: 312.3 kB / 1.4 GB, free: 7.387 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.9781, allocations: 6.535 MB / 1.406 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/0.9788, allocations: 1.044 MB / 1.407 GB, free: 15.62 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009074/0.9797, allocations: 275.1 kB / 1.408 GB, free: 15.35 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006062/0.9804, allocations: 403.3 kB / 1.408 GB, free: 14.95 MB / 1.123 GB Notification: Performance of SimCode: time 1.192e-06/0.9804, allocations: 4 kB / 1.408 GB, free: 14.95 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06104/1.041, allocations: 22.86 MB / 1.43 GB, free: 8.312 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.43, allocations: 11.02 kB / 1.43 GB, free: 8.305 MB / 1.139 GB " [Timeout remaining time 285] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 20.234459664206952]