Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.001741/0.001741, allocations: 114.9 kB / 17.08 MB, free: 5.988 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.002051/0.002051, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.448/1.448, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.976/2.976, allocations: 489.3 MB / 0.7687 GB, free: 3.816 MB / 0.6075 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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 71.89 kB / 1.103 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.004/1.006, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006147/1.012, allocations: 4.848 MB / 1.267 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1903/1.203, allocations: 150.6 MB / 1.414 GB, free: 4.902 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/1.204, allocations: 15.72 kB / 1.414 GB, free: 4.898 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006434/1.204, allocations: 191.3 kB / 1.415 GB, free: 4.73 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/1.206, allocations: 0.5446 MB / 1.415 GB, free: 4.324 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00236/1.209, allocations: 0.8297 MB / 1.416 GB, free: 3.695 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001945/1.211, allocations: 1.383 MB / 1.417 GB, free: 2.832 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009519/1.212, allocations: 0.5816 MB / 1.418 GB, free: 2.469 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008028/1.213, allocations: 484.3 kB / 1.418 GB, free: 2.18 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006654/1.213, allocations: 0.4989 MB / 1.419 GB, free: 1.824 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001681/1.213, allocations: 113.8 kB / 1.419 GB, free: 1.824 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/1.215, allocations: 486.2 kB / 1.419 GB, free: 1.641 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/1.215, allocations: 297.8 kB / 1.42 GB, free: 1.406 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005688/1.215, allocations: 0.5544 MB / 1.42 GB, free: 0.9961 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002278/1.218, allocations: 1.633 MB / 1.422 GB, free: 15.82 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.218, allocations: 0 / 1.422 GB, free: 15.82 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.363e-06/1.218, allocations: 1.156 kB / 1.422 GB, free: 15.82 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.034e-05/1.218, allocations: 0 / 1.422 GB, free: 15.82 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002798/1.221, allocations: 1.458 MB / 1.423 GB, free: 14.66 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.221, allocations: 13.02 kB / 1.423 GB, free: 14.66 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009892/1.222, allocations: 187.8 kB / 1.423 GB, free: 14.57 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/1.223, allocations: 0.7685 MB / 1.424 GB, free: 13.94 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/1.223, allocations: 63.94 kB / 1.424 GB, free: 13.91 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.223, allocations: 77.28 kB / 1.424 GB, free: 13.89 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/1.225, allocations: 0.9147 MB / 1.425 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/1.225, allocations: 0 / 1.425 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.541e-05/1.225, allocations: 37.53 kB / 1.425 GB, free: 13.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/1.225, allocations: 23.91 kB / 1.425 GB, free: 13.26 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/1.227, allocations: 1.101 MB / 1.426 GB, free: 12.74 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0044/1.231, allocations: 2.723 MB / 1.429 GB, free: 10.53 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/1.233, allocations: 0.7986 MB / 1.43 GB, free: 10.13 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/1.233, allocations: 307.3 kB / 1.43 GB, free: 9.969 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/1.234, allocations: 31.91 kB / 1.43 GB, free: 9.953 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009197/1.234, allocations: 493.8 kB / 1.431 GB, free: 9.637 MB / 1.123 GB Notification: Performance of pre-optimization done (n=80): time 2.425e-06/1.235, allocations: 1.062 kB / 1.431 GB, free: 9.637 MB / 1.123 GB Notification: Performance of matching and sorting (n=80): time 0.003497/1.238, allocations: 1.198 MB / 1.432 GB, free: 8.988 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.238, allocations: 193.4 kB / 1.432 GB, free: 8.766 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008886/1.239, allocations: 0.6277 MB / 1.432 GB, free: 8.398 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/1.239, allocations: 47.19 kB / 1.433 GB, free: 8.352 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003687/1.24, allocations: 395.9 kB / 1.433 GB, free: 8.004 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/1.24, allocations: 278.7 kB / 1.433 GB, free: 7.762 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/1.24, allocations: 163.3 kB / 1.433 GB, free: 7.66 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002143/1.24, allocations: 388.6 kB / 1.434 GB, free: 7.289 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/1.241, allocations: 272.6 kB / 1.434 GB, free: 7.156 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000679/1.242, allocations: 360.8 kB / 1.434 GB, free: 6.953 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/1.243, allocations: 0.6074 MB / 1.435 GB, free: 6.621 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.243, allocations: 1.656 kB / 1.435 GB, free: 6.621 MB / 1.123 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002143/1.245, allocations: 0.8544 MB / 1.436 GB, free: 6.188 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.245, allocations: 13.47 kB / 1.436 GB, free: 6.18 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.245, allocations: 0 / 1.436 GB, free: 6.18 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/1.246, allocations: 80.84 kB / 1.436 GB, free: 6.141 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/1.246, allocations: 169.1 kB / 1.436 GB, free: 6.094 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/1.249, allocations: 1.636 MB / 1.438 GB, free: 4.383 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000898/1.25, allocations: 100.8 kB / 1.438 GB, free: 4.285 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/1.25, allocations: 35.97 kB / 1.438 GB, free: 4.25 MB / 1.123 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 (95): * Single equations (assignments): 94 * 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.0005419/1.25, allocations: 270.9 kB / 1.438 GB, free: 3.977 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/1.25, allocations: 87.44 kB / 1.438 GB, free: 3.891 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/1.253, allocations: 1.058 MB / 1.439 GB, free: 2.809 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.253, allocations: 8 kB / 1.439 GB, free: 2.801 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.253, allocations: 3.938 kB / 1.439 GB, free: 2.797 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.253, allocations: 7.984 kB / 1.439 GB, free: 2.789 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/1.254, allocations: 0.8879 MB / 1.44 GB, free: 1.852 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.254, allocations: 0 / 1.44 GB, free: 1.852 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/1.255, allocations: 147.8 kB / 1.44 GB, free: 1.707 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/1.255, allocations: 72.78 kB / 1.44 GB, free: 1.633 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/1.255, allocations: 23.98 kB / 1.44 GB, free: 1.609 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002159/1.258, allocations: 1.673 MB / 1.442 GB, free: 15.79 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.258, allocations: 0 / 1.442 GB, free: 15.79 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/1.26, allocations: 0.9323 MB / 1.443 GB, free: 14.84 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/1.26, allocations: 272.2 kB / 1.443 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.26, allocations: 20 kB / 1.443 GB, free: 14.54 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006115/1.261, allocations: 67.92 kB / 1.443 GB, free: 14.47 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.261, allocations: 64.91 kB / 1.443 GB, free: 14.41 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/1.261, allocations: 43.91 kB / 1.443 GB, free: 14.36 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006581/1.262, allocations: 455 kB / 1.444 GB, free: 13.93 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.8e-07/1.262, allocations: 0 / 1.444 GB, free: 13.93 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009417/1.263, allocations: 323.1 kB / 1.444 GB, free: 13.61 MB / 1.139 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 (91): * Single equations (assignments): 85 * 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.001951/1.265, allocations: 0.6127 MB / 1.445 GB, free: 13.19 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001875/1.267, allocations: 0.8234 MB / 1.445 GB, free: 12.35 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.267, allocations: 8.188 kB / 1.445 GB, free: 12.34 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009969/1.268, allocations: 0.5236 MB / 1.446 GB, free: 11.8 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/1.269, allocations: 291.1 kB / 1.446 GB, free: 11.54 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/1.272, allocations: 1.69 MB / 1.448 GB, free: 9.816 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/1.273, allocations: 1.016 MB / 1.449 GB, free: 8.773 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/1.273, allocations: 119.4 kB / 1.449 GB, free: 8.656 MB / 1.139 GB Notification: Performance of SimCode: time 8.01e-07/1.273, allocations: 4 kB / 1.449 GB, free: 8.652 MB / 1.139 GB Notification: Performance of Templates: time 0.02891/1.302, allocations: 18.48 MB / 1.467 GB, free: 6.234 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,HDifTilIso.HSkyDifTil,HDifTilIso.HGroDifTil Variables in the result:HDifTilIso.HGroDifTil,HDifTilIso.HSkyDifTil,time [Calling sys.exit(0), Time elapsed: 14.764184589963406]