Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001345/0.001345, allocations: 102.4 kB / 16.45 MB, free: 6.445 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.001481/0.001481, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.408/1.408, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 497.2 MB / 0.7812 GB, free: 12.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.89 kB / 1.134 GB, free: 13.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.9281, allocations: 173.9 MB / 1.304 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005507/0.9336, allocations: 5.044 MB / 1.309 GB, free: 28.69 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1873/1.121, allocations: 151.2 MB / 1.457 GB, free: 14.8 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009829/1.122, allocations: 16.16 kB / 1.457 GB, free: 14.8 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007581/1.123, allocations: 201 kB / 1.457 GB, free: 14.66 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/1.125, allocations: 0.5762 MB / 1.457 GB, free: 14.31 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002461/1.127, allocations: 0.8806 MB / 1.458 GB, free: 13.84 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002166/1.129, allocations: 1.469 MB / 1.46 GB, free: 13.08 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008547/1.13, allocations: 439.3 kB / 1.46 GB, free: 12.82 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00092/1.131, allocations: 0.5238 MB / 1.46 GB, free: 12.55 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009428/1.132, allocations: 0.5409 MB / 1.461 GB, free: 12.27 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002554/1.132, allocations: 122 kB / 1.461 GB, free: 12.27 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/1.134, allocations: 0.5032 MB / 1.462 GB, free: 12.15 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003938/1.134, allocations: 311.9 kB / 1.462 GB, free: 11.95 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008722/1.135, allocations: 0.5873 MB / 1.463 GB, free: 11.56 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/1.139, allocations: 1.731 MB / 1.464 GB, free: 10.82 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.139, allocations: 4 kB / 1.464 GB, free: 10.82 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.035e-06/1.139, allocations: 1.281 kB / 1.464 GB, free: 10.82 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.493e-05/1.139, allocations: 0 / 1.464 GB, free: 10.82 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003926/1.143, allocations: 1.543 MB / 1.466 GB, free: 9.773 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.143, allocations: 10.14 kB / 1.466 GB, free: 9.773 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002164/1.143, allocations: 139.9 kB / 1.466 GB, free: 9.68 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/1.144, allocations: 202.8 kB / 1.466 GB, free: 9.605 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/1.146, allocations: 0.7957 MB / 1.467 GB, free: 9.086 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/1.146, allocations: 71.53 kB / 1.467 GB, free: 9.051 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/1.146, allocations: 86.11 kB / 1.467 GB, free: 9.023 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002015/1.148, allocations: 0.9751 MB / 1.468 GB, free: 8.566 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/1.148, allocations: 5.031 kB / 1.468 GB, free: 8.562 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-05/1.148, allocations: 37.25 kB / 1.468 GB, free: 8.535 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.749e-05/1.148, allocations: 21 kB / 1.468 GB, free: 8.535 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/1.15, allocations: 1.164 MB / 1.469 GB, free: 7.973 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005578/1.156, allocations: 2.938 MB / 1.472 GB, free: 5.609 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/1.158, allocations: 0.9323 MB / 1.473 GB, free: 5.082 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006469/1.159, allocations: 298.5 kB / 1.473 GB, free: 4.926 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.124e-05/1.159, allocations: 37.81 kB / 1.473 GB, free: 4.906 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/1.16, allocations: 0.5353 MB / 1.474 GB, free: 4.562 MB / 1.154 GB Notification: Performance of pre-optimization done (n=88): time 2.524e-06/1.16, allocations: 0 / 1.474 GB, free: 4.562 MB / 1.154 GB Notification: Performance of matching and sorting (n=88): time 0.003603/1.163, allocations: 1.31 MB / 1.475 GB, free: 3.855 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/1.163, allocations: 195 kB / 1.475 GB, free: 3.629 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/1.164, allocations: 0.652 MB / 1.476 GB, free: 3.25 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001325/1.165, allocations: 43.73 kB / 1.476 GB, free: 3.207 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000388/1.165, allocations: 414.7 kB / 1.476 GB, free: 2.844 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/1.165, allocations: 297.1 kB / 1.477 GB, free: 2.586 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/1.166, allocations: 162.3 kB / 1.477 GB, free: 2.488 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002233/1.166, allocations: 389 kB / 1.477 GB, free: 2.117 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005643/1.166, allocations: 269.1 kB / 1.477 GB, free: 1.988 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/1.167, allocations: 389 kB / 1.478 GB, free: 1.742 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/1.168, allocations: 0.6267 MB / 1.478 GB, free: 1.41 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.168, allocations: 0 / 1.478 GB, free: 1.41 MB / 1.154 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002263/1.171, allocations: 0.8762 MB / 1.479 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/1.171, allocations: 4.531 kB / 1.479 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/1.171, allocations: 1.156 kB / 1.479 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/1.171, allocations: 80.8 kB / 1.479 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/1.172, allocations: 170.7 kB / 1.479 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0023/1.174, allocations: 1.63 MB / 1.481 GB, free: 15.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009687/1.175, allocations: 111.3 kB / 1.481 GB, free: 15.19 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/1.175, allocations: 38.06 kB / 1.481 GB, free: 15.18 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0005868/1.176, allocations: 271.1 kB / 1.481 GB, free: 14.96 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/1.176, allocations: 88.84 kB / 1.482 GB, free: 14.92 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002766/1.179, allocations: 1.19 MB / 1.483 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/1.179, allocations: 11.22 kB / 1.483 GB, free: 14.26 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.179, allocations: 3.984 kB / 1.483 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/1.179, allocations: 7.922 kB / 1.483 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/1.183, allocations: 2.103 MB / 1.485 GB, free: 12.87 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.183, allocations: 3.938 kB / 1.485 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/1.184, allocations: 162.9 kB / 1.485 GB, free: 12.83 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004453/1.184, allocations: 73.97 kB / 1.485 GB, free: 12.79 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-05/1.184, allocations: 34 kB / 1.485 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/1.186, allocations: 1.654 MB / 1.487 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/1.186, allocations: 5.094 kB / 1.487 GB, free: 11.15 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/1.189, allocations: 1.096 MB / 1.488 GB, free: 10.54 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007221/1.189, allocations: 301.2 kB / 1.488 GB, free: 10.28 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.19, allocations: 18.91 kB / 1.488 GB, free: 10.27 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007528/1.19, allocations: 72.95 kB / 1.488 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/1.191, allocations: 91.19 kB / 1.488 GB, free: 10.18 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.687e-05/1.191, allocations: 38.39 kB / 1.488 GB, free: 10.16 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007274/1.191, allocations: 474.8 kB / 1.489 GB, free: 9.734 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.191, allocations: 0 / 1.489 GB, free: 9.734 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001212/1.193, allocations: 355.1 kB / 1.489 GB, free: 9.387 MB / 1.17 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 (106): * Single equations (assignments): 99 * 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.004675/1.197, allocations: 2.154 MB / 1.491 GB, free: 7.395 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002047/1.199, allocations: 0.8391 MB / 1.492 GB, free: 6.543 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/1.199, allocations: 4 kB / 1.492 GB, free: 6.539 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/1.2, allocations: 0.5313 MB / 1.492 GB, free: 5.996 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.202, allocations: 308.2 kB / 1.493 GB, free: 5.715 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/1.214, allocations: 6.583 MB / 1.499 GB, free: 14.98 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008442/1.215, allocations: 1.049 MB / 1.5 GB, free: 13.9 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001112/1.216, allocations: 271.2 kB / 1.5 GB, free: 13.63 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007175/1.217, allocations: 415.2 kB / 1.501 GB, free: 13.22 MB / 1.186 GB Notification: Performance of SimCode: time 1.172e-06/1.217, allocations: 0 / 1.501 GB, free: 13.22 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06228/1.279, allocations: 23.07 MB / 1.523 GB, free: 6.457 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.92, allocations: 5.875 kB / 1.523 GB, free: 6.457 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.230499791912735]