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.001661/0.001661, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002277/0.002277, allocations: 211.4 kB / 22.99 MB, free: 4.984 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.493/1.493, 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.222/3.222, allocations: 0.49 GB / 0.7959 GB, free: 35.61 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.002225/0.002225, allocations: 71.92 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3871, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009723/0.3969, allocations: 6.274 MB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.5686, allocations: 133.2 MB / 1.463 GB, free: 4.98 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009406/0.5696, allocations: 27.81 kB / 1.463 GB, free: 4.953 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007274/0.5703, allocations: 269.4 kB / 1.464 GB, free: 4.688 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002112/0.5724, allocations: 0.8057 MB / 1.464 GB, free: 3.883 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.5747, allocations: 1.037 MB / 1.465 GB, free: 2.852 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002467/0.5771, allocations: 2.108 MB / 1.467 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.5784, allocations: 0.7677 MB / 1.468 GB, free: 15.91 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.5796, allocations: 0.8644 MB / 1.469 GB, free: 15.05 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.5807, allocations: 0.8886 MB / 1.47 GB, free: 14.16 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002965/0.581, allocations: 220 kB / 1.47 GB, free: 13.94 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.5822, allocations: 0.5895 MB / 1.471 GB, free: 13.35 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004598/0.5827, allocations: 0.4907 MB / 1.471 GB, free: 12.86 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008169/0.5835, allocations: 0.7972 MB / 1.472 GB, free: 12.06 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.587, allocations: 2.744 MB / 1.475 GB, free: 9.305 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.587, allocations: 0 / 1.475 GB, free: 9.305 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.234e-06/0.587, allocations: 0 / 1.475 GB, free: 9.305 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.37e-05/0.5871, allocations: 4 kB / 1.475 GB, free: 9.301 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.00463/0.5917, allocations: 2.048 MB / 1.477 GB, free: 7.211 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.5918, allocations: 8.031 kB / 1.477 GB, free: 7.203 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.5949, allocations: 403.5 kB / 1.477 GB, free: 6.809 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.5967, allocations: 0.9525 MB / 1.478 GB, free: 5.824 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.5969, allocations: 170.5 kB / 1.478 GB, free: 5.645 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002105/0.5971, allocations: 152 kB / 1.478 GB, free: 5.496 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003063/0.6002, allocations: 1.869 MB / 1.48 GB, free: 3.504 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/0.6002, allocations: 0 / 1.48 GB, free: 3.504 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.6004, allocations: 68 kB / 1.48 GB, free: 3.438 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.6004, allocations: 40 kB / 1.48 GB, free: 3.398 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.6031, allocations: 1.549 MB / 1.482 GB, free: 1.844 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006877/0.61, allocations: 3.511 MB / 1.485 GB, free: 14.26 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.612, allocations: 1.015 MB / 1.486 GB, free: 13.24 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/0.6127, allocations: 391.7 kB / 1.486 GB, free: 12.85 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.541e-05/0.6128, allocations: 36.95 kB / 1.487 GB, free: 12.81 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.6142, allocations: 0.8272 MB / 1.487 GB, free: 11.94 MB / 1.186 GB Notification: Performance of pre-optimization done (n=111): time 3.457e-06/0.6142, allocations: 0 / 1.487 GB, free: 11.94 MB / 1.186 GB Notification: Performance of matching and sorting (n=111): time 0.004355/0.6186, allocations: 1.57 MB / 1.489 GB, free: 10.36 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.6187, allocations: 196.9 kB / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6198, allocations: 0.7352 MB / 1.49 GB, free: 9.379 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.6199, allocations: 49.7 kB / 1.49 GB, free: 9.324 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006025/0.6205, allocations: 0.6455 MB / 1.49 GB, free: 8.668 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/0.6208, allocations: 376.8 kB / 1.491 GB, free: 8.297 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/0.6212, allocations: 230.8 kB / 1.491 GB, free: 8.066 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002234/0.6214, allocations: 402.7 kB / 1.491 GB, free: 7.664 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008007/0.6222, allocations: 406.4 kB / 1.492 GB, free: 7.266 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009893/0.6232, allocations: 0.6326 MB / 1.492 GB, free: 6.582 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.6249, allocations: 0.8916 MB / 1.493 GB, free: 5.676 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6249, allocations: 4 kB / 1.493 GB, free: 5.672 MB / 1.186 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002828/0.6277, allocations: 1.2 MB / 1.494 GB, free: 4.461 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.6277, allocations: 11.94 kB / 1.494 GB, free: 4.449 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6278, allocations: 0 / 1.494 GB, free: 4.449 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006907/0.6284, allocations: 88.81 kB / 1.495 GB, free: 4.359 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.6295, allocations: 227.7 kB / 1.495 GB, free: 4.137 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.6321, allocations: 1.516 MB / 1.496 GB, free: 2.512 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.6333, allocations: 121.3 kB / 1.496 GB, free: 2.395 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.6334, allocations: 51.95 kB / 1.496 GB, free: 2.344 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.0007997/0.6342, allocations: 356.9 kB / 1.497 GB, free: 1.988 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.6345, allocations: 107.3 kB / 1.497 GB, free: 1.883 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/0.638, allocations: 1.52 MB / 1.498 GB, free: 356 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.638, allocations: 12 kB / 1.498 GB, free: 344 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.6381, allocations: 0 / 1.498 GB, free: 344 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.6381, allocations: 3.984 kB / 1.498 GB, free: 340 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.6396, allocations: 0.967 MB / 1.499 GB, free: 15.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.6396, allocations: 0 / 1.499 GB, free: 15.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000883/0.6404, allocations: 195.6 kB / 1.499 GB, free: 15.14 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004973/0.6409, allocations: 80.78 kB / 1.5 GB, free: 15.06 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/0.641, allocations: 35.97 kB / 1.5 GB, free: 15.03 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.6431, allocations: 1.544 MB / 1.501 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6431, allocations: 0 / 1.501 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/0.6458, allocations: 1.266 MB / 1.502 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006172/0.6465, allocations: 270.8 kB / 1.503 GB, free: 11.82 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.6466, allocations: 43.88 kB / 1.503 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008957/0.6475, allocations: 79.92 kB / 1.503 GB, free: 11.7 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.6478, allocations: 105.1 kB / 1.503 GB, free: 11.6 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.6479, allocations: 47.97 kB / 1.503 GB, free: 11.55 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007905/0.6486, allocations: 0.542 MB / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6486, allocations: 0 / 1.503 GB, free: 11.02 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001265/0.6499, allocations: 0.4906 MB / 1.504 GB, free: 10.52 MB / 1.201 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.002169/0.6521, allocations: 0.6664 MB / 1.505 GB, free: 10.06 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002372/0.6545, allocations: 1.103 MB / 1.506 GB, free: 8.941 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6545, allocations: 0 / 1.506 GB, free: 8.941 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.6557, allocations: 0.6427 MB / 1.506 GB, free: 8.289 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.6571, allocations: 318.1 kB / 1.507 GB, free: 8.004 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.6617, allocations: 2.516 MB / 1.509 GB, free: 5.453 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.6625, allocations: 0.6427 MB / 1.51 GB, free: 4.77 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001051/0.6635, allocations: 304.4 kB / 1.51 GB, free: 4.469 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/0.6639, allocations: 143.4 kB / 1.51 GB, free: 4.328 MB / 1.201 GB Notification: Performance of SimCode: time 1.143e-06/0.6639, allocations: 0 / 1.51 GB, free: 4.328 MB / 1.201 GB Notification: Performance of Templates: time 0.04049/0.7044, allocations: 21.87 MB / 1.531 GB, free: 14.73 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 -s cvode -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.154179324003053]