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.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.001331/0.001331, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001465/0.001465, allocations: 163.8 kB / 23.01 MB, free: 4.594 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.435/1.435, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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.885/2.885, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 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: 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: 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.002194/0.002194, allocations: 67.89 kB / 1.009 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9082/0.9104, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.008659/0.919, allocations: 5.353 MB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1879/1.107, allocations: 132.9 MB / 1.322 GB, free: 11.63 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/1.108, allocations: 27.75 kB / 1.322 GB, free: 11.61 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007962/1.109, allocations: 245.7 kB / 1.322 GB, free: 11.36 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002349/1.111, allocations: 0.6481 MB / 1.322 GB, free: 10.71 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/1.114, allocations: 0.9013 MB / 1.323 GB, free: 9.82 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002016/1.116, allocations: 1.673 MB / 1.325 GB, free: 8.141 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009802/1.117, allocations: 0.5737 MB / 1.326 GB, free: 7.531 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008705/1.118, allocations: 0.6423 MB / 1.326 GB, free: 6.887 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008659/1.118, allocations: 0.5908 MB / 1.327 GB, free: 6.293 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002275/1.119, allocations: 156 kB / 1.327 GB, free: 6.141 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/1.12, allocations: 0.527 MB / 1.327 GB, free: 5.613 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003802/1.12, allocations: 374.8 kB / 1.328 GB, free: 5.246 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006553/1.121, allocations: 0.6065 MB / 1.328 GB, free: 4.637 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002619/1.123, allocations: 2.093 MB / 1.33 GB, free: 2.539 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.124, allocations: 0 / 1.33 GB, free: 2.539 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.064e-06/1.124, allocations: 0 / 1.33 GB, free: 2.539 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.165e-05/1.124, allocations: 0 / 1.33 GB, free: 2.539 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003084/1.127, allocations: 1.721 MB / 1.332 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/1.127, allocations: 8.031 kB / 1.332 GB, free: 0.7695 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/1.128, allocations: 275.8 kB / 1.332 GB, free: 0.5 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/1.13, allocations: 0.8157 MB / 1.333 GB, free: 15.66 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.98e-05/1.13, allocations: 86.41 kB / 1.333 GB, free: 15.57 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/1.13, allocations: 120 kB / 1.333 GB, free: 15.45 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/1.132, allocations: 1.457 MB / 1.335 GB, free: 13.87 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/1.132, allocations: 3.938 kB / 1.335 GB, free: 13.87 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.133, allocations: 48 kB / 1.335 GB, free: 13.82 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/1.133, allocations: 28 kB / 1.335 GB, free: 13.79 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/1.135, allocations: 1.238 MB / 1.336 GB, free: 12.55 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004754/1.14, allocations: 2.617 MB / 1.339 GB, free: 9.871 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/1.141, allocations: 0.8217 MB / 1.339 GB, free: 9.043 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005818/1.142, allocations: 294.6 kB / 1.34 GB, free: 8.754 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.971e-05/1.142, allocations: 28.62 kB / 1.34 GB, free: 8.727 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/1.143, allocations: 0.6204 MB / 1.34 GB, free: 8.066 MB / 1.186 GB Notification: Performance of pre-optimization done (n=87): time 2.916e-06/1.143, allocations: 0 / 1.34 GB, free: 8.066 MB / 1.186 GB Notification: Performance of matching and sorting (n=87): time 0.003572/1.146, allocations: 1.203 MB / 1.342 GB, free: 6.852 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.147, allocations: 192.9 kB / 1.342 GB, free: 6.621 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000942/1.148, allocations: 0.6685 MB / 1.342 GB, free: 5.941 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/1.148, allocations: 45.7 kB / 1.342 GB, free: 5.891 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000478/1.148, allocations: 0.5436 MB / 1.343 GB, free: 5.34 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/1.148, allocations: 289.6 kB / 1.343 GB, free: 5.055 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/1.149, allocations: 170.6 kB / 1.343 GB, free: 4.883 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002281/1.149, allocations: 394.7 kB / 1.344 GB, free: 4.488 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006235/1.149, allocations: 297.8 kB / 1.344 GB, free: 4.195 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008127/1.15, allocations: 0.5074 MB / 1.345 GB, free: 3.645 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/1.152, allocations: 0.6516 MB / 1.345 GB, free: 2.984 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.152, allocations: 4 kB / 1.345 GB, free: 2.98 MB / 1.186 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002263/1.154, allocations: 0.9272 MB / 1.346 GB, free: 2.039 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.154, allocations: 9.031 kB / 1.346 GB, free: 2.031 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.154, allocations: 112 / 1.346 GB, free: 2.031 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006385/1.155, allocations: 92.64 kB / 1.346 GB, free: 1.938 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007734/1.155, allocations: 179.7 kB / 1.346 GB, free: 1.762 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/1.158, allocations: 1.492 MB / 1.348 GB, free: 168 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008151/1.158, allocations: 91.56 kB / 1.348 GB, free: 76 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.374e-05/1.158, allocations: 44.03 kB / 1.348 GB, free: 32 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: 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.0005788/1.159, allocations: 307.6 kB / 1.348 GB, free: 15.72 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/1.159, allocations: 91.42 kB / 1.348 GB, free: 15.63 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/1.162, allocations: 1.121 MB / 1.349 GB, free: 14.49 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/1.162, allocations: 12 kB / 1.349 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.162, allocations: 0 / 1.349 GB, free: 14.48 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.162, allocations: 7.922 kB / 1.349 GB, free: 14.47 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/1.164, allocations: 0.7396 MB / 1.35 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/1.164, allocations: 0 / 1.35 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006955/1.164, allocations: 151.8 kB / 1.35 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/1.165, allocations: 72.78 kB / 1.35 GB, free: 13.48 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-05/1.165, allocations: 27.97 kB / 1.35 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/1.167, allocations: 1.54 MB / 1.352 GB, free: 11.81 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.167, allocations: 0 / 1.352 GB, free: 11.81 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/1.169, allocations: 0.9791 MB / 1.353 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005182/1.17, allocations: 215 kB / 1.353 GB, free: 10.59 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/1.17, allocations: 20 kB / 1.353 GB, free: 10.57 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/1.171, allocations: 62.12 kB / 1.353 GB, free: 10.52 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/1.171, allocations: 80.84 kB / 1.353 GB, free: 10.44 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.16e-05/1.171, allocations: 35.98 kB / 1.353 GB, free: 10.4 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007041/1.172, allocations: 483 kB / 1.354 GB, free: 9.938 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.172, allocations: 0 / 1.354 GB, free: 9.938 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001067/1.173, allocations: 406.7 kB / 1.354 GB, free: 9.539 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.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.002144/1.175, allocations: 0.6384 MB / 1.355 GB, free: 9.105 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002027/1.177, allocations: 0.8507 MB / 1.356 GB, free: 8.242 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.177, allocations: 0 / 1.356 GB, free: 8.242 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/1.178, allocations: 0.5199 MB / 1.356 GB, free: 7.711 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/1.179, allocations: 308 kB / 1.356 GB, free: 7.43 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/1.183, allocations: 2.013 MB / 1.358 GB, free: 5.383 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/1.184, allocations: 0.5266 MB / 1.359 GB, free: 4.82 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008921/1.185, allocations: 259.1 kB / 1.359 GB, free: 4.562 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/1.185, allocations: 116.4 kB / 1.359 GB, free: 4.449 MB / 1.201 GB Notification: Performance of SimCode: time 7.82e-07/1.185, allocations: 0 / 1.359 GB, free: 4.449 MB / 1.201 GB Notification: Performance of Templates: time 0.03052/1.216, allocations: 15.94 MB / 1.375 GB, free: 4.777 MB / 1.217 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/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: 9.836488252971321]