Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.001741/0.001741, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.002172/0.002172, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.496/1.496, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.82/2.82, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [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.002122/0.002122, allocations: 71.88 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.959/0.9611, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007269/0.9683, allocations: 7.359 MB / 1.161 GB, free: 28.39 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1823/1.151, allocations: 133.9 MB / 1.292 GB, free: 2.062 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001387/1.152, allocations: 31.31 kB / 1.292 GB, free: 2.047 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0009856/1.153, allocations: 326.1 kB / 1.292 GB, free: 1.824 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002979/1.156, allocations: 0.8805 MB / 1.293 GB, free: 1.254 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/1.16, allocations: 1.393 MB / 1.294 GB, free: 472 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005143/1.165, allocations: 3.02 MB / 1.297 GB, free: 14.9 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/1.167, allocations: 0.9713 MB / 1.298 GB, free: 14.3 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/1.17, allocations: 1.258 MB / 1.3 GB, free: 13.69 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003916/1.173, allocations: 1.205 MB / 1.301 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001157/1.175, allocations: 326.3 kB / 1.301 GB, free: 13.04 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/1.177, allocations: 0.7051 MB / 1.302 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007896/1.178, allocations: 0.7029 MB / 1.302 GB, free: 12.26 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001874/1.18, allocations: 1.101 MB / 1.303 GB, free: 11.49 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005694/1.185, allocations: 3.751 MB / 1.307 GB, free: 8.684 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.185, allocations: 1.219 kB / 1.307 GB, free: 8.684 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.473e-06/1.185, allocations: 0 / 1.307 GB, free: 8.684 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.707e-05/1.185, allocations: 3.938 kB / 1.307 GB, free: 8.68 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.008006/1.193, allocations: 2.85 MB / 1.31 GB, free: 6.66 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.194, allocations: 9.375 kB / 1.31 GB, free: 6.66 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01947/1.213, allocations: 2.311 MB / 1.312 GB, free: 5.633 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/1.216, allocations: 1.237 MB / 1.313 GB, free: 4.645 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/1.217, allocations: 168.6 kB / 1.314 GB, free: 4.566 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005225/1.217, allocations: 217.9 kB / 1.314 GB, free: 4.496 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/1.227, allocations: 3.537 MB / 1.317 GB, free: 1.188 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.001e-05/1.227, allocations: 3.938 kB / 1.317 GB, free: 1.184 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003016/1.228, allocations: 92 kB / 1.317 GB, free: 1.094 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/1.228, allocations: 59.98 kB / 1.317 GB, free: 1.035 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/1.242, allocations: 4.143 MB / 1.321 GB, free: 12.88 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01793/1.26, allocations: 6.111 MB / 1.327 GB, free: 6.688 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/1.27, allocations: 2.706 MB / 1.33 GB, free: 3.969 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005/1.275, allocations: 1.358 MB / 1.331 GB, free: 2.613 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007115/1.276, allocations: 109.9 kB / 1.331 GB, free: 2.508 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006129/1.282, allocations: 1.952 MB / 1.333 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of pre-optimization done (n=213): time 5.76e-06/1.282, allocations: 8 kB / 1.333 GB, free: 0.5039 MB / 1.17 GB Notification: Performance of matching and sorting (n=213): time 0.01746/1.299, allocations: 4.38 MB / 1.338 GB, free: 12.12 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/1.299, allocations: 213.9 kB / 1.338 GB, free: 11.86 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/1.301, allocations: 0.8257 MB / 1.339 GB, free: 11.03 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002989/1.301, allocations: 61.7 kB / 1.339 GB, free: 10.96 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008137/1.302, allocations: 0.7717 MB / 1.339 GB, free: 10.18 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009036/1.303, allocations: 0.7126 MB / 1.34 GB, free: 9.465 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000943/1.304, allocations: 403.2 kB / 1.341 GB, free: 9.062 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.304, allocations: 301.1 kB / 1.341 GB, free: 8.766 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004735/1.309, allocations: 1.261 MB / 1.342 GB, free: 7.504 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005185/1.314, allocations: 1.559 MB / 1.344 GB, free: 5.895 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/1.324, allocations: 2.618 MB / 1.346 GB, free: 3.258 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/1.324, allocations: 0 / 1.346 GB, free: 3.258 MB / 1.186 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01186/1.336, allocations: 3.121 MB / 1.349 GB, free: 128 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/1.336, allocations: 4 kB / 1.349 GB, free: 124 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/1.336, allocations: 4 kB / 1.349 GB, free: 120 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000657/1.337, allocations: 84.84 kB / 1.349 GB, free: 32 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/1.341, allocations: 0.6045 MB / 1.35 GB, free: 15.43 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/1.344, allocations: 1.5 MB / 1.351 GB, free: 13.82 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/1.348, allocations: 354.7 kB / 1.352 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005712/1.348, allocations: 99.89 kB / 1.352 GB, free: 13.37 MB / 1.201 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.001659/1.35, allocations: 436 kB / 1.352 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008266/1.351, allocations: 155 kB / 1.352 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/1.364, allocations: 3.714 MB / 1.356 GB, free: 9.047 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/1.364, allocations: 24 kB / 1.356 GB, free: 9.023 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/1.364, allocations: 0 / 1.356 GB, free: 9.023 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.578e-05/1.364, allocations: 11.95 kB / 1.356 GB, free: 9.012 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003749/1.368, allocations: 1.748 MB / 1.358 GB, free: 7.23 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/1.368, allocations: 0 / 1.358 GB, free: 7.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003922/1.372, allocations: 0.5617 MB / 1.358 GB, free: 6.668 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000511/1.373, allocations: 84.72 kB / 1.358 GB, free: 6.582 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003185/1.373, allocations: 71.91 kB / 1.358 GB, free: 6.512 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/1.375, allocations: 1.532 MB / 1.36 GB, free: 4.871 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/1.375, allocations: 8 kB / 1.36 GB, free: 4.863 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/1.387, allocations: 3.199 MB / 1.363 GB, free: 1.641 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/1.388, allocations: 468.1 kB / 1.363 GB, free: 1.184 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004891/1.389, allocations: 47.94 kB / 1.364 GB, free: 1.137 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003271/1.392, allocations: 267.7 kB / 1.364 GB, free: 0.875 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003674/1.392, allocations: 161.7 kB / 1.364 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002906/1.393, allocations: 95.84 kB / 1.364 GB, free: 0.6211 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001125/1.394, allocations: 0.6102 MB / 1.365 GB, free: 0 / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/1.394, allocations: 0 / 1.365 GB, free: 0 / 1.201 GB Notification: Performance of remove unused functions: time 0.002239/1.396, allocations: 0.7051 MB / 1.365 GB, free: 15.29 MB / 1.217 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.002489/1.399, allocations: 0.7046 MB / 1.366 GB, free: 14.8 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.41, allocations: 3.03 MB / 1.369 GB, free: 11.76 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.41, allocations: 0 / 1.369 GB, free: 11.76 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005782/1.416, allocations: 1.626 MB / 1.371 GB, free: 10.12 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/1.418, allocations: 354.9 kB / 1.371 GB, free: 9.785 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.429, allocations: 4.151 MB / 1.375 GB, free: 5.602 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001208/1.43, allocations: 0.86 MB / 1.376 GB, free: 4.699 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00352/1.433, allocations: 0.5629 MB / 1.376 GB, free: 4.129 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/1.435, allocations: 232.3 kB / 1.377 GB, free: 3.902 MB / 1.217 GB Notification: Performance of SimCode: time 6.81e-07/1.435, allocations: 4 kB / 1.377 GB, free: 3.898 MB / 1.217 GB Notification: Performance of Templates: time 0.05656/1.491, allocations: 30.63 MB / 1.406 GB, free: 5.605 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.525518213049509]