Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001998/0.001998, allocations: 113 kB / 17.6 MB, free: 4.684 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.001785/0.001785, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.655/1.655, allocations: 225.6 MB / 249.4 MB, free: 3.301 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.9/2.9, allocations: 496.2 MB / 0.7819 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 55.91 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.139, allocations: 173.7 MB / 1.305 GB, free: 33.68 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006308/1.145, allocations: 6.035 MB / 1.311 GB, free: 29.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2064/1.352, allocations: 151.4 MB / 1.459 GB, free: 15.34 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/1.353, allocations: 20.81 kB / 1.459 GB, free: 15.33 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008945/1.354, allocations: 243.2 kB / 1.459 GB, free: 15.17 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003166/1.357, allocations: 0.635 MB / 1.46 GB, free: 14.77 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003/1.36, allocations: 0.894 MB / 1.461 GB, free: 14.27 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003065/1.363, allocations: 1.65 MB / 1.462 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/1.365, allocations: 0.6017 MB / 1.463 GB, free: 13.03 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/1.366, allocations: 0.6171 MB / 1.464 GB, free: 12.71 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/1.368, allocations: 0.6623 MB / 1.464 GB, free: 12.35 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002679/1.368, allocations: 153.8 kB / 1.464 GB, free: 12.35 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/1.369, allocations: 0.513 MB / 1.465 GB, free: 12.23 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004595/1.37, allocations: 375.8 kB / 1.465 GB, free: 11.99 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009084/1.371, allocations: 0.7287 MB / 1.466 GB, free: 11.51 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003846/1.374, allocations: 2.044 MB / 1.468 GB, free: 10.62 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/1.374, allocations: 6.078 kB / 1.468 GB, free: 10.62 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.295e-06/1.374, allocations: 0 / 1.468 GB, free: 10.62 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.925e-05/1.375, allocations: 4 kB / 1.468 GB, free: 10.61 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004216/1.379, allocations: 1.759 MB / 1.47 GB, free: 9.309 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.379, allocations: 10.12 kB / 1.47 GB, free: 9.309 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/1.38, allocations: 229.3 kB / 1.47 GB, free: 9.195 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/1.382, allocations: 0.8824 MB / 1.471 GB, free: 8.473 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/1.382, allocations: 87.03 kB / 1.471 GB, free: 8.434 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/1.382, allocations: 118 kB / 1.471 GB, free: 8.395 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/1.385, allocations: 1.194 MB / 1.472 GB, free: 7.633 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/1.385, allocations: 1.094 kB / 1.472 GB, free: 7.633 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/1.385, allocations: 55.89 kB / 1.472 GB, free: 7.59 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.82e-05/1.385, allocations: 28.88 kB / 1.472 GB, free: 7.59 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/1.387, allocations: 1.284 MB / 1.474 GB, free: 6.973 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00669/1.394, allocations: 3.701 MB / 1.477 GB, free: 3.914 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/1.396, allocations: 0.8163 MB / 1.478 GB, free: 3.492 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006135/1.396, allocations: 297.2 kB / 1.478 GB, free: 3.34 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.394e-05/1.397, allocations: 31.08 kB / 1.478 GB, free: 3.324 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/1.398, allocations: 0.5212 MB / 1.479 GB, free: 2.992 MB / 1.154 GB Notification: Performance of pre-optimization done (n=87): time 3.166e-06/1.398, allocations: 0 / 1.479 GB, free: 2.992 MB / 1.154 GB Notification: Performance of matching and sorting (n=87): time 0.003908/1.402, allocations: 1.298 MB / 1.48 GB, free: 2.281 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/1.402, allocations: 190 kB / 1.48 GB, free: 2.062 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/1.403, allocations: 0.7301 MB / 1.481 GB, free: 1.641 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.403, allocations: 43.14 kB / 1.481 GB, free: 1.598 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005772/1.404, allocations: 0.531 MB / 1.482 GB, free: 1.125 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/1.404, allocations: 296.7 kB / 1.482 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/1.404, allocations: 175.9 kB / 1.482 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000195/1.405, allocations: 334.6 kB / 1.482 GB, free: 448 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/1.405, allocations: 291.6 kB / 1.483 GB, free: 300 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007927/1.406, allocations: 397.7 kB / 1.483 GB, free: 68 kB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/1.407, allocations: 0.6505 MB / 1.484 GB, free: 15.71 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.407, allocations: 1.062 kB / 1.484 GB, free: 15.71 MB / 1.17 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002547/1.41, allocations: 0.9334 MB / 1.484 GB, free: 15.23 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/1.41, allocations: 7.688 kB / 1.484 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.41, allocations: 5.281 kB / 1.484 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/1.411, allocations: 80.42 kB / 1.485 GB, free: 15.19 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/1.411, allocations: 175.7 kB / 1.485 GB, free: 15.15 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/1.414, allocations: 1.63 MB / 1.486 GB, free: 13.54 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.415, allocations: 100.5 kB / 1.486 GB, free: 13.48 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.864e-05/1.415, allocations: 44.38 kB / 1.486 GB, free: 13.46 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: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (104): * Single equations (assignments): 103 * 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.0007701/1.416, allocations: 304.9 kB / 1.487 GB, free: 13.22 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002284/1.416, allocations: 96.3 kB / 1.487 GB, free: 13.17 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/1.419, allocations: 1.121 MB / 1.488 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/1.419, allocations: 17.75 kB / 1.488 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/1.419, allocations: 1.062 kB / 1.488 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/1.419, allocations: 3.984 kB / 1.488 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/1.421, allocations: 1.053 MB / 1.489 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/1.421, allocations: 0 / 1.489 GB, free: 11.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006625/1.421, allocations: 150.6 kB / 1.489 GB, free: 11.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004816/1.422, allocations: 75.94 kB / 1.489 GB, free: 11.67 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.606e-05/1.422, allocations: 27.92 kB / 1.489 GB, free: 11.64 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/1.424, allocations: 1.666 MB / 1.491 GB, free: 9.824 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.424, allocations: 0 / 1.491 GB, free: 9.824 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/1.426, allocations: 0.9868 MB / 1.492 GB, free: 8.82 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/1.427, allocations: 296.1 kB / 1.492 GB, free: 8.512 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/1.427, allocations: 16 kB / 1.492 GB, free: 8.496 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006459/1.428, allocations: 63.94 kB / 1.492 GB, free: 8.434 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/1.428, allocations: 80.83 kB / 1.492 GB, free: 8.352 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.565e-05/1.428, allocations: 39.97 kB / 1.492 GB, free: 8.312 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000826/1.429, allocations: 0.5068 MB / 1.493 GB, free: 7.809 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.429, allocations: 0 / 1.493 GB, free: 7.809 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001317/1.43, allocations: 398.9 kB / 1.493 GB, free: 7.418 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: 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.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 (98): * Single equations (assignments): 92 * 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.00208/1.432, allocations: 0.6121 MB / 1.494 GB, free: 6.977 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001959/1.434, allocations: 0.8547 MB / 1.495 GB, free: 6.113 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.434, allocations: 4 kB / 1.495 GB, free: 6.109 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009804/1.435, allocations: 0.508 MB / 1.495 GB, free: 5.59 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.436, allocations: 325.3 kB / 1.495 GB, free: 5.297 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/1.442, allocations: 2.009 MB / 1.497 GB, free: 3.254 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.443, allocations: 1.102 MB / 1.498 GB, free: 2.121 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001482/1.444, allocations: 299.5 kB / 1.499 GB, free: 1.824 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/1.444, allocations: 115.3 kB / 1.499 GB, free: 1.711 MB / 1.17 GB Notification: Performance of SimCode: time 2.364e-06/1.444, allocations: 0 / 1.499 GB, free: 1.711 MB / 1.17 GB Notification: Performance of Templates: time 0.03567/1.48, allocations: 16.94 MB / 1.515 GB, free: 0.957 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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: 10.623462028801441]