Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001494/0.001494, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00201/0.00201, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.531/1.531, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.853/2.853, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_11_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_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002606/0.002606, allocations: 63.89 kB / 1.109 GB, free: 6.586 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.04, allocations: 168.7 MB / 1.274 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01201/1.052, allocations: 7.103 MB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2126/1.265, allocations: 151.7 MB / 1.429 GB, free: 5.012 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/1.266, allocations: 23.88 kB / 1.429 GB, free: 4.988 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/1.268, allocations: 273.4 kB / 1.429 GB, free: 4.719 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003279/1.271, allocations: 0.7793 MB / 1.43 GB, free: 3.938 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00301/1.274, allocations: 1.041 MB / 1.431 GB, free: 2.906 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003465/1.277, allocations: 2.093 MB / 1.433 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/1.279, allocations: 0.7555 MB / 1.434 GB, free: 0 / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/1.28, allocations: 0.8371 MB / 1.435 GB, free: 15.16 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/1.282, allocations: 0.8831 MB / 1.436 GB, free: 14.27 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003332/1.282, allocations: 219.9 kB / 1.436 GB, free: 14.06 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/1.283, allocations: 0.5739 MB / 1.436 GB, free: 13.48 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004937/1.284, allocations: 494.5 kB / 1.437 GB, free: 13 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.00108/1.285, allocations: 0.9642 MB / 1.438 GB, free: 12.03 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003912/1.289, allocations: 2.685 MB / 1.44 GB, free: 9.336 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.289, allocations: 0 / 1.44 GB, free: 9.336 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.475e-06/1.289, allocations: 0 / 1.44 GB, free: 9.336 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.651e-05/1.289, allocations: 4 kB / 1.44 GB, free: 9.332 MB / 1.139 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.00498/1.294, allocations: 2.096 MB / 1.443 GB, free: 7.18 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.294, allocations: 8.031 kB / 1.443 GB, free: 7.172 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/1.295, allocations: 271.6 kB / 1.443 GB, free: 6.906 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/1.297, allocations: 0.9976 MB / 1.444 GB, free: 5.863 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/1.297, allocations: 144.8 kB / 1.444 GB, free: 5.715 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/1.298, allocations: 148 kB / 1.444 GB, free: 5.57 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/1.301, allocations: 1.585 MB / 1.446 GB, free: 3.93 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.617e-05/1.301, allocations: 7.938 kB / 1.446 GB, free: 3.922 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/1.301, allocations: 64 kB / 1.446 GB, free: 3.859 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.691e-05/1.301, allocations: 40 kB / 1.446 GB, free: 3.82 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0029/1.304, allocations: 1.596 MB / 1.447 GB, free: 2.219 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008556/1.312, allocations: 4.691 MB / 1.452 GB, free: 13.34 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/1.314, allocations: 1.023 MB / 1.453 GB, free: 12.31 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007775/1.315, allocations: 403.6 kB / 1.453 GB, free: 11.91 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/1.315, allocations: 41.08 kB / 1.453 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001335/1.317, allocations: 0.7007 MB / 1.454 GB, free: 11.15 MB / 1.154 GB Notification: Performance of pre-optimization done (n=111): time 3.397e-06/1.317, allocations: 0 / 1.454 GB, free: 11.15 MB / 1.154 GB Notification: Performance of matching and sorting (n=111): time 0.004352/1.321, allocations: 1.661 MB / 1.456 GB, free: 9.469 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001575/1.321, allocations: 200.9 kB / 1.456 GB, free: 9.227 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.323, allocations: 0.8376 MB / 1.457 GB, free: 8.383 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/1.323, allocations: 53.7 kB / 1.457 GB, free: 8.324 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006175/1.323, allocations: 0.6299 MB / 1.457 GB, free: 7.688 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/1.324, allocations: 376.8 kB / 1.458 GB, free: 7.316 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003827/1.324, allocations: 222.8 kB / 1.458 GB, free: 7.09 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.324, allocations: 349.9 kB / 1.458 GB, free: 6.742 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008231/1.325, allocations: 402.4 kB / 1.459 GB, free: 6.352 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009822/1.326, allocations: 0.5149 MB / 1.459 GB, free: 5.816 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/1.328, allocations: 0.8877 MB / 1.46 GB, free: 4.914 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.328, allocations: 0 / 1.46 GB, free: 4.914 MB / 1.154 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002934/1.331, allocations: 1.208 MB / 1.461 GB, free: 3.695 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.331, allocations: 11.98 kB / 1.461 GB, free: 3.684 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/1.331, allocations: 0 / 1.461 GB, free: 3.684 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/1.331, allocations: 80.84 kB / 1.461 GB, free: 3.602 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/1.332, allocations: 231.7 kB / 1.461 GB, free: 3.375 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/1.335, allocations: 1.65 MB / 1.463 GB, free: 1.582 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/1.336, allocations: 135.2 kB / 1.463 GB, free: 1.449 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/1.336, allocations: 47.95 kB / 1.463 GB, free: 1.402 MB / 1.154 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.0008958/1.337, allocations: 356.4 kB / 1.464 GB, free: 1.043 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/1.338, allocations: 119.2 kB / 1.464 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/1.341, allocations: 1.524 MB / 1.465 GB, free: 15.39 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/1.341, allocations: 12 kB / 1.465 GB, free: 15.38 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/1.341, allocations: 3.984 kB / 1.465 GB, free: 15.37 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/1.341, allocations: 7.984 kB / 1.465 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001996/1.343, allocations: 1.384 MB / 1.466 GB, free: 13.93 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.343, allocations: 0 / 1.466 GB, free: 13.93 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008777/1.344, allocations: 199.7 kB / 1.467 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/1.345, allocations: 76.78 kB / 1.467 GB, free: 13.65 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-05/1.345, allocations: 31.97 kB / 1.467 GB, free: 13.62 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/1.347, allocations: 1.689 MB / 1.468 GB, free: 11.79 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.347, allocations: 8.094 kB / 1.468 GB, free: 11.78 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/1.35, allocations: 1.274 MB / 1.47 GB, free: 10.48 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007269/1.35, allocations: 367.8 kB / 1.47 GB, free: 10.11 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.351, allocations: 35.89 kB / 1.47 GB, free: 10.07 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008756/1.351, allocations: 81.78 kB / 1.47 GB, free: 9.992 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/1.352, allocations: 105.3 kB / 1.47 GB, free: 9.887 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.352, allocations: 55.94 kB / 1.47 GB, free: 9.832 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0009157/1.353, allocations: 0.6096 MB / 1.471 GB, free: 9.211 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/1.353, allocations: 0 / 1.471 GB, free: 9.211 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001317/1.354, allocations: 486.6 kB / 1.471 GB, free: 8.734 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.00209/1.356, allocations: 0.6135 MB / 1.472 GB, free: 8.305 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002531/1.359, allocations: 1.111 MB / 1.473 GB, free: 7.18 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.359, allocations: 3.938 kB / 1.473 GB, free: 7.176 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/1.36, allocations: 0.6427 MB / 1.474 GB, free: 6.523 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.361, allocations: 356.8 kB / 1.474 GB, free: 6.195 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/1.366, allocations: 2.512 MB / 1.476 GB, free: 3.648 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009718/1.367, allocations: 1.22 MB / 1.478 GB, free: 2.395 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001116/1.368, allocations: 313.3 kB / 1.478 GB, free: 2.086 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/1.369, allocations: 147.4 kB / 1.478 GB, free: 1.941 MB / 1.17 GB Notification: Performance of SimCode: time 1.183e-06/1.369, allocations: 0 / 1.478 GB, free: 1.941 MB / 1.17 GB Notification: Performance of Templates: time 0.04532/1.414, allocations: 21.37 MB / 1.499 GB, free: 12.78 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.346126759890467]