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.001869/0.001869, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002594/0.002594, allocations: 206.2 kB / 23 MB, free: 4.934 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.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 3.235/3.235, allocations: 0.49 GB / 0.7959 GB, free: 35.72 MB / 0.6231 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.002067/0.002067, allocations: 68.44 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3825, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01019/0.3927, allocations: 6.259 MB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1968/0.5895, allocations: 133.2 MB / 1.463 GB, free: 5 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.5909, allocations: 23.88 kB / 1.463 GB, free: 4.977 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009367/0.5919, allocations: 273.4 kB / 1.464 GB, free: 4.707 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.5952, allocations: 0.8062 MB / 1.464 GB, free: 3.902 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.5982, allocations: 1.038 MB / 1.465 GB, free: 2.871 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.003327/0.6015, allocations: 2.108 MB / 1.467 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.603, allocations: 0.7717 MB / 1.468 GB, free: 15.93 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.6045, allocations: 0.8566 MB / 1.469 GB, free: 15.07 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.6058, allocations: 0.8909 MB / 1.47 GB, free: 14.18 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003375/0.6062, allocations: 224 kB / 1.47 GB, free: 13.96 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.6076, allocations: 0.5972 MB / 1.471 GB, free: 13.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005398/0.6082, allocations: 494.5 kB / 1.471 GB, free: 12.88 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.6092, allocations: 0.7972 MB / 1.472 GB, free: 12.07 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003934/0.6131, allocations: 2.74 MB / 1.475 GB, free: 9.324 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.6131, allocations: 4 kB / 1.475 GB, free: 9.32 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6131, allocations: 0 / 1.475 GB, free: 9.32 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.607e-05/0.6132, allocations: 0 / 1.475 GB, free: 9.32 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004579/0.6177, allocations: 2.048 MB / 1.477 GB, free: 7.23 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.6178, allocations: 8.031 kB / 1.477 GB, free: 7.223 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/0.621, allocations: 403.5 kB / 1.477 GB, free: 6.828 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.623, allocations: 0.9487 MB / 1.478 GB, free: 5.848 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.6232, allocations: 170.5 kB / 1.478 GB, free: 5.668 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.6235, allocations: 152 kB / 1.478 GB, free: 5.52 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.6268, allocations: 1.869 MB / 1.48 GB, free: 3.527 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.6268, allocations: 0 / 1.48 GB, free: 3.527 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.627, allocations: 68 kB / 1.48 GB, free: 3.461 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.627, allocations: 36 kB / 1.48 GB, free: 3.426 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002793/0.6298, allocations: 1.545 MB / 1.482 GB, free: 1.875 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00719/0.637, allocations: 3.511 MB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.639, allocations: 1.021 MB / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/0.6397, allocations: 387.7 kB / 1.486 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.613e-05/0.6398, allocations: 40.95 kB / 1.487 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/0.6413, allocations: 0.8255 MB / 1.487 GB, free: 11.97 MB / 1.186 GB Notification: Performance of pre-optimization done (n=111): time 3.407e-06/0.6413, allocations: 0 / 1.487 GB, free: 11.97 MB / 1.186 GB Notification: Performance of matching and sorting (n=111): time 0.004344/0.6456, allocations: 1.574 MB / 1.489 GB, free: 10.38 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.6457, allocations: 192.9 kB / 1.489 GB, free: 10.15 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.6469, allocations: 0.7469 MB / 1.49 GB, free: 9.395 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.647, allocations: 49.7 kB / 1.49 GB, free: 9.34 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006368/0.6476, allocations: 0.6415 MB / 1.49 GB, free: 8.688 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003737/0.648, allocations: 376.8 kB / 1.491 GB, free: 8.316 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.6484, allocations: 230.8 kB / 1.491 GB, free: 8.086 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002391/0.6487, allocations: 402.7 kB / 1.491 GB, free: 7.684 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007978/0.6494, allocations: 398.4 kB / 1.492 GB, free: 7.293 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.6505, allocations: 0.6366 MB / 1.492 GB, free: 6.605 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.6522, allocations: 0.8955 MB / 1.493 GB, free: 5.695 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6522, allocations: 0 / 1.493 GB, free: 5.695 MB / 1.186 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002876/0.655, allocations: 1.196 MB / 1.494 GB, free: 4.488 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.6551, allocations: 8 kB / 1.494 GB, free: 4.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6551, allocations: 0 / 1.494 GB, free: 4.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006884/0.6558, allocations: 84.83 kB / 1.495 GB, free: 4.395 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.6568, allocations: 235.7 kB / 1.495 GB, free: 4.164 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.6592, allocations: 1.517 MB / 1.496 GB, free: 2.539 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.6604, allocations: 123.4 kB / 1.496 GB, free: 2.418 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.6605, allocations: 47.97 kB / 1.496 GB, free: 2.371 MB / 1.186 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.0007851/0.6613, allocations: 357.6 kB / 1.497 GB, free: 2.016 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.6615, allocations: 107.3 kB / 1.497 GB, free: 1.91 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/0.6651, allocations: 1.528 MB / 1.498 GB, free: 376 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.6651, allocations: 3.984 kB / 1.498 GB, free: 372 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6651, allocations: 0 / 1.498 GB, free: 372 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006589/0.6657, allocations: 274.8 kB / 1.499 GB, free: 96 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.6659, allocations: 27.94 kB / 1.499 GB, free: 68 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008857/0.6668, allocations: 91.95 kB / 1.499 GB, free: 15.97 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000205/0.667, allocations: 97.12 kB / 1.499 GB, free: 15.88 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002867/0.6699, allocations: 1.299 MB / 1.5 GB, free: 14.57 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003553/0.6734, allocations: 1.933 MB / 1.502 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008777/0.6743, allocations: 466.3 kB / 1.502 GB, free: 12.16 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008455/0.6751, allocations: 0.542 MB / 1.503 GB, free: 11.62 MB / 1.201 GB Notification: Performance of Backend: time 8.51e-07/0.6751, allocations: 0 / 1.503 GB, free: 11.62 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.005083/0.6802, allocations: 1.496 MB / 1.504 GB, free: 10.39 MB / 1.201 GB Notification: Performance of SimCode: time 0.005373/0.6856, allocations: 2.804 MB / 1.507 GB, free: 7.547 MB / 1.201 GB Notification: Performance of Templates: time 0.04307/0.7287, allocations: 24.69 MB / 1.531 GB, free: 15.13 MB / 1.232 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 -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.203346795999096]