Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.001704/0.001704, allocations: 112.2 kB / 17.08 MB, free: 6.012 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.00202/0.00202, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.457/1.457, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.996/2.996, allocations: 489.2 MB / 0.7687 GB, free: 3.77 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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001972, allocations: 67.91 kB / 1.103 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009962/1.089, allocations: 8.428 MB / 1.271 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.207/1.297, allocations: 151.8 MB / 1.419 GB, free: 0.9062 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/1.299, allocations: 24.88 kB / 1.419 GB, free: 0.8984 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/1.3, allocations: 319.6 kB / 1.419 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003852/1.304, allocations: 0.8569 MB / 1.42 GB, free: 15.93 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/1.308, allocations: 1.376 MB / 1.422 GB, free: 14.83 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.005118/1.313, allocations: 3.01 MB / 1.425 GB, free: 12.96 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/1.316, allocations: 1.496 MB / 1.426 GB, free: 12.05 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/1.318, allocations: 1.189 MB / 1.427 GB, free: 11.32 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002647/1.321, allocations: 1.344 MB / 1.428 GB, free: 10.34 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0008097/1.322, allocations: 324.6 kB / 1.429 GB, free: 10.34 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/1.324, allocations: 0.7034 MB / 1.429 GB, free: 10.14 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0008229/1.325, allocations: 0.6946 MB / 1.43 GB, free: 9.551 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002239/1.327, allocations: 1.335 MB / 1.431 GB, free: 8.551 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005974/1.333, allocations: 3.682 MB / 1.435 GB, free: 5.77 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/1.333, allocations: 0 / 1.435 GB, free: 5.77 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.445e-06/1.333, allocations: 0 / 1.435 GB, free: 5.77 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001257/1.333, allocations: 4 kB / 1.435 GB, free: 5.766 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.008038/1.341, allocations: 2.89 MB / 1.438 GB, free: 3.68 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/1.341, allocations: 8.5 kB / 1.438 GB, free: 3.68 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/1.357, allocations: 2.12 MB / 1.44 GB, free: 2.359 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/1.361, allocations: 1.306 MB / 1.441 GB, free: 1.004 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/1.361, allocations: 168.5 kB / 1.441 GB, free: 0.8359 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005455/1.361, allocations: 220 kB / 1.442 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009959/1.371, allocations: 3.278 MB / 1.445 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.773e-05/1.371, allocations: 0 / 1.445 GB, free: 13.25 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002998/1.372, allocations: 99.94 kB / 1.445 GB, free: 13.15 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.045e-05/1.372, allocations: 56 kB / 1.445 GB, free: 13.09 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/1.386, allocations: 4.205 MB / 1.449 GB, free: 8.871 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/1.405, allocations: 8.14 MB / 1.457 GB, free: 448 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009878/1.415, allocations: 2.887 MB / 1.46 GB, free: 13.54 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004966/1.42, allocations: 1.485 MB / 1.461 GB, free: 12.05 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000851/1.42, allocations: 0.5073 MB / 1.462 GB, free: 11.46 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00558/1.426, allocations: 1.851 MB / 1.464 GB, free: 9.586 MB / 1.154 GB Notification: Performance of pre-optimization done (n=213): time 4.168e-06/1.426, allocations: 4 kB / 1.464 GB, free: 9.582 MB / 1.154 GB Notification: Performance of matching and sorting (n=213): time 0.01613/1.442, allocations: 4.475 MB / 1.468 GB, free: 5.082 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001761/1.442, allocations: 209.9 kB / 1.468 GB, free: 4.832 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/1.444, allocations: 0.9487 MB / 1.469 GB, free: 3.863 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002803/1.444, allocations: 65.64 kB / 1.469 GB, free: 3.793 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006884/1.445, allocations: 0.7601 MB / 1.47 GB, free: 3.023 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007422/1.446, allocations: 0.7087 MB / 1.471 GB, free: 2.309 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007718/1.447, allocations: 395.2 kB / 1.471 GB, free: 1.918 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.447, allocations: 305.1 kB / 1.471 GB, free: 1.617 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004358/1.451, allocations: 1.261 MB / 1.472 GB, free: 364 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004636/1.456, allocations: 1.438 MB / 1.474 GB, free: 14.89 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009922/1.466, allocations: 2.61 MB / 1.476 GB, free: 12.26 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.068e-05/1.466, allocations: 4 kB / 1.476 GB, free: 12.26 MB / 1.17 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01192/1.478, allocations: 3.129 MB / 1.479 GB, free: 9.117 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/1.478, allocations: 4 kB / 1.479 GB, free: 9.113 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/1.478, allocations: 4 kB / 1.479 GB, free: 9.109 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000602/1.478, allocations: 88.83 kB / 1.48 GB, free: 9.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00405/1.482, allocations: 0.6045 MB / 1.48 GB, free: 8.414 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/1.485, allocations: 1.637 MB / 1.482 GB, free: 6.637 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003788/1.489, allocations: 366.6 kB / 1.482 GB, free: 6.277 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004634/1.489, allocations: 99.89 kB / 1.482 GB, free: 6.18 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001169/1.49, allocations: 452.2 kB / 1.483 GB, free: 5.73 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005253/1.491, allocations: 159 kB / 1.483 GB, free: 5.574 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/1.503, allocations: 3.712 MB / 1.486 GB, free: 1.84 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.369e-05/1.503, allocations: 24 kB / 1.486 GB, free: 1.816 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.503, allocations: 0 / 1.486 GB, free: 1.816 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.551e-05/1.503, allocations: 7.969 kB / 1.486 GB, free: 1.809 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/1.507, allocations: 2.456 MB / 1.489 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/1.507, allocations: 0 / 1.489 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003579/1.51, allocations: 0.5616 MB / 1.489 GB, free: 14.74 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000499/1.511, allocations: 76.78 kB / 1.489 GB, free: 14.66 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002806/1.511, allocations: 79.84 kB / 1.49 GB, free: 14.58 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/1.513, allocations: 1.658 MB / 1.491 GB, free: 12.78 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.513, allocations: 7.938 kB / 1.491 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01085/1.524, allocations: 3.219 MB / 1.494 GB, free: 9.531 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.525, allocations: 0.546 MB / 1.495 GB, free: 8.965 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/1.526, allocations: 51.89 kB / 1.495 GB, free: 8.914 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/1.529, allocations: 271.7 kB / 1.495 GB, free: 8.648 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003401/1.529, allocations: 149.8 kB / 1.495 GB, free: 8.504 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002466/1.529, allocations: 95.91 kB / 1.495 GB, free: 8.41 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001064/1.53, allocations: 0.6996 MB / 1.496 GB, free: 7.703 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.5e-07/1.53, allocations: 0 / 1.496 GB, free: 7.703 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001919/1.532, allocations: 0.6858 MB / 1.497 GB, free: 7.016 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002149/1.534, allocations: 0.6704 MB / 1.497 GB, free: 6.535 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01036/1.545, allocations: 3.155 MB / 1.5 GB, free: 3.363 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.545, allocations: 8.062 kB / 1.5 GB, free: 3.355 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.005455/1.55, allocations: 1.759 MB / 1.502 GB, free: 1.59 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/1.552, allocations: 398.2 kB / 1.503 GB, free: 1.219 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009706/1.562, allocations: 4.192 MB / 1.507 GB, free: 12.98 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.563, allocations: 1.422 MB / 1.508 GB, free: 11.52 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001722/1.565, allocations: 287.2 kB / 1.508 GB, free: 11.24 MB / 1.201 GB Notification: Performance of SimCode: time 8.11e-07/1.565, allocations: 0 / 1.508 GB, free: 11.24 MB / 1.201 GB Notification: Performance of Templates: time 0.06255/1.628, allocations: 42.43 MB / 1.55 GB, free: 0.8477 MB / 1.232 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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: 15.749217309989035]