Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001668/0.001668, allocations: 81.55 kB / 19.76 MB, free: 2.027 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.002096/0.002096, allocations: 158.9 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.483/1.483, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.801/2.801, allocations: 377.9 MB / 0.6228 GB, free: 12.59 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.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [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.00309/0.00309, allocations: 75.89 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.009, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006256/1.015, allocations: 6.263 MB / 1.16 GB, free: 29.15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1818/1.197, allocations: 133.2 MB / 1.29 GB, free: 3.277 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001046/1.198, allocations: 23.06 kB / 1.29 GB, free: 3.27 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008229/1.199, allocations: 265.9 kB / 1.29 GB, free: 3.094 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002558/1.201, allocations: 0.7923 MB / 1.291 GB, free: 2.59 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/1.204, allocations: 1.043 MB / 1.292 GB, free: 2.004 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003263/1.207, allocations: 2.108 MB / 1.294 GB, free: 0.8906 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/1.209, allocations: 0.7395 MB / 1.295 GB, free: 440 kB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/1.21, allocations: 0.8623 MB / 1.296 GB, free: 15.99 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/1.212, allocations: 0.7859 MB / 1.297 GB, free: 15.61 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003611/1.212, allocations: 220.2 kB / 1.297 GB, free: 15.61 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/1.213, allocations: 0.5776 MB / 1.297 GB, free: 15.5 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005484/1.214, allocations: 0.4885 MB / 1.298 GB, free: 15.17 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009757/1.215, allocations: 0.7956 MB / 1.299 GB, free: 14.7 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003733/1.219, allocations: 2.74 MB / 1.301 GB, free: 13.02 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.219, allocations: 0 / 1.301 GB, free: 13.02 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.854e-06/1.219, allocations: 8.969 kB / 1.301 GB, free: 13.02 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.58e-05/1.219, allocations: 0 / 1.301 GB, free: 13.02 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004274/1.223, allocations: 2.043 MB / 1.303 GB, free: 11.49 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/1.223, allocations: 12.66 kB / 1.303 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/1.226, allocations: 401.7 kB / 1.304 GB, free: 11.31 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/1.228, allocations: 0.9444 MB / 1.305 GB, free: 10.57 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001985/1.229, allocations: 176.9 kB / 1.305 GB, free: 10.45 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/1.229, allocations: 148.6 kB / 1.305 GB, free: 10.4 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/1.232, allocations: 1.867 MB / 1.307 GB, free: 9.074 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/1.232, allocations: 1.406 kB / 1.307 GB, free: 9.074 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/1.232, allocations: 65.7 kB / 1.307 GB, free: 9.023 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/1.232, allocations: 38.16 kB / 1.307 GB, free: 9.023 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/1.235, allocations: 1.549 MB / 1.308 GB, free: 8.246 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006902/1.242, allocations: 3.522 MB / 1.312 GB, free: 5.645 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/1.244, allocations: 1.026 MB / 1.313 GB, free: 5.109 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007459/1.245, allocations: 392.8 kB / 1.313 GB, free: 4.906 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/1.245, allocations: 32.06 kB / 1.313 GB, free: 4.891 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/1.246, allocations: 0.8288 MB / 1.314 GB, free: 4.289 MB / 1.154 GB Notification: Performance of pre-optimization done (n=111): time 3.256e-06/1.246, allocations: 0 / 1.314 GB, free: 4.289 MB / 1.154 GB Notification: Performance of matching and sorting (n=111): time 0.004359/1.251, allocations: 1.573 MB / 1.316 GB, free: 2.809 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/1.251, allocations: 192.9 kB / 1.316 GB, free: 2.578 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/1.252, allocations: 0.7391 MB / 1.316 GB, free: 1.828 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/1.252, allocations: 53.69 kB / 1.317 GB, free: 1.77 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000589/1.253, allocations: 0.6454 MB / 1.317 GB, free: 1.113 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/1.253, allocations: 380.9 kB / 1.317 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/1.253, allocations: 222.8 kB / 1.318 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000227/1.254, allocations: 406.7 kB / 1.318 GB, free: 112 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000829/1.254, allocations: 394.5 kB / 1.318 GB, free: 15.72 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/1.255, allocations: 0.6366 MB / 1.319 GB, free: 15.03 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/1.257, allocations: 0.8916 MB / 1.32 GB, free: 14.12 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/1.257, allocations: 4 kB / 1.32 GB, free: 14.12 MB / 1.17 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002868/1.26, allocations: 1.2 MB / 1.321 GB, free: 12.91 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.26, allocations: 4 kB / 1.321 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.26, allocations: 4 kB / 1.321 GB, free: 12.9 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006539/1.261, allocations: 84.78 kB / 1.321 GB, free: 12.82 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/1.262, allocations: 231.7 kB / 1.321 GB, free: 12.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/1.264, allocations: 1.512 MB / 1.323 GB, free: 10.97 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/1.265, allocations: 119.5 kB / 1.323 GB, free: 10.86 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/1.265, allocations: 55.95 kB / 1.323 GB, free: 10.8 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.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 (135): * Single equations (assignments): 134 * 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.0007514/1.266, allocations: 360.8 kB / 1.323 GB, free: 10.44 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/1.266, allocations: 107.3 kB / 1.324 GB, free: 10.34 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/1.27, allocations: 1.524 MB / 1.325 GB, free: 8.801 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.27, allocations: 15.98 kB / 1.325 GB, free: 8.785 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.27, allocations: 0 / 1.325 GB, free: 8.785 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/1.27, allocations: 3.984 kB / 1.325 GB, free: 8.781 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/1.271, allocations: 0.952 MB / 1.326 GB, free: 7.805 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.271, allocations: 0 / 1.326 GB, free: 7.805 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000873/1.272, allocations: 191.7 kB / 1.326 GB, free: 7.617 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004849/1.273, allocations: 80.72 kB / 1.326 GB, free: 7.535 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.32e-05/1.273, allocations: 35.97 kB / 1.326 GB, free: 7.5 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/1.275, allocations: 1.54 MB / 1.328 GB, free: 5.848 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.275, allocations: 8.047 kB / 1.328 GB, free: 5.84 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002838/1.278, allocations: 1.27 MB / 1.329 GB, free: 4.547 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006277/1.278, allocations: 270.8 kB / 1.329 GB, free: 4.281 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/1.279, allocations: 35.94 kB / 1.329 GB, free: 4.246 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008988/1.28, allocations: 86.19 kB / 1.329 GB, free: 4.164 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/1.28, allocations: 105.1 kB / 1.329 GB, free: 4.062 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/1.28, allocations: 47.97 kB / 1.33 GB, free: 4.016 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008322/1.281, allocations: 0.542 MB / 1.33 GB, free: 3.477 MB / 1.17 GB Notification: Performance of sort global known variables: time 9.1e-08/1.281, allocations: 0 / 1.33 GB, free: 3.477 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001391/1.282, allocations: 0.4945 MB / 1.331 GB, free: 2.98 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * 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.00216/1.284, allocations: 0.6617 MB / 1.331 GB, free: 2.516 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002433/1.287, allocations: 1.099 MB / 1.332 GB, free: 1.406 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.287, allocations: 3.938 kB / 1.332 GB, free: 1.402 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/1.288, allocations: 0.6425 MB / 1.333 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.289, allocations: 323.2 kB / 1.333 GB, free: 468 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/1.294, allocations: 2.516 MB / 1.336 GB, free: 13.91 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/1.295, allocations: 0.6427 MB / 1.336 GB, free: 13.22 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001006/1.296, allocations: 300.5 kB / 1.337 GB, free: 12.93 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/1.296, allocations: 144.4 kB / 1.337 GB, free: 12.79 MB / 1.186 GB Notification: Performance of SimCode: time 6.01e-07/1.296, allocations: 0 / 1.337 GB, free: 12.79 MB / 1.186 GB Notification: Performance of Templates: time 0.03802/1.334, allocations: 19.73 MB / 1.356 GB, free: 9.363 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.159150857012719]