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.001253/0.001253, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001261/0.001261, allocations: 186 kB / 20.78 MB, free: 1.547 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.512/1.512, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.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.794/2.794, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 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.002811/0.002811, allocations: 67.89 kB / 1.107 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081/1.084, allocations: 168.7 MB / 1.272 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009406/1.094, allocations: 7.103 MB / 1.279 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2276/1.321, allocations: 151.7 MB / 1.427 GB, free: 1.707 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/1.324, allocations: 18.62 kB / 1.427 GB, free: 1.703 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/1.325, allocations: 269.2 kB / 1.427 GB, free: 1.465 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003849/1.329, allocations: 0.7831 MB / 1.428 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003358/1.332, allocations: 1.039 MB / 1.429 GB, free: 44 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004216/1.336, allocations: 2.096 MB / 1.431 GB, free: 14.74 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00216/1.338, allocations: 0.7549 MB / 1.432 GB, free: 14.17 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001992/1.34, allocations: 0.8325 MB / 1.433 GB, free: 13.66 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/1.343, allocations: 0.8885 MB / 1.434 GB, free: 13.02 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007906/1.343, allocations: 218.9 kB / 1.434 GB, free: 13.02 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002231/1.346, allocations: 0.572 MB / 1.434 GB, free: 12.84 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006581/1.346, allocations: 495.8 kB / 1.435 GB, free: 12.43 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/1.348, allocations: 0.9645 MB / 1.436 GB, free: 11.73 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004643/1.353, allocations: 2.68 MB / 1.438 GB, free: 9.746 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.353, allocations: 0 / 1.438 GB, free: 9.746 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.914e-06/1.353, allocations: 0 / 1.438 GB, free: 9.746 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.8e-05/1.353, allocations: 0 / 1.438 GB, free: 9.746 MB / 1.123 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.005132/1.358, allocations: 2.103 MB / 1.44 GB, free: 8.043 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/1.358, allocations: 12.03 kB / 1.44 GB, free: 8.031 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/1.359, allocations: 271.6 kB / 1.441 GB, free: 7.766 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/1.361, allocations: 0.9937 MB / 1.442 GB, free: 6.727 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001788/1.361, allocations: 140.8 kB / 1.442 GB, free: 6.582 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/1.361, allocations: 160 kB / 1.442 GB, free: 6.426 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003198/1.365, allocations: 1.585 MB / 1.443 GB, free: 4.785 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/1.365, allocations: 0 / 1.443 GB, free: 4.785 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/1.365, allocations: 64 kB / 1.444 GB, free: 4.723 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/1.365, allocations: 43.94 kB / 1.444 GB, free: 4.68 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/1.368, allocations: 1.6 MB / 1.445 GB, free: 3.074 MB / 1.123 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.008653/1.376, allocations: 4.683 MB / 1.45 GB, free: 14.2 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/1.379, allocations: 1.027 MB / 1.451 GB, free: 13.17 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007652/1.379, allocations: 395.6 kB / 1.451 GB, free: 12.79 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/1.379, allocations: 49.06 kB / 1.451 GB, free: 12.73 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/1.381, allocations: 0.6925 MB / 1.452 GB, free: 12.02 MB / 1.139 GB Notification: Performance of pre-optimization done (n=111): time 2.845e-06/1.381, allocations: 0 / 1.452 GB, free: 12.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=111): time 0.004366/1.385, allocations: 1.665 MB / 1.453 GB, free: 10.33 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/1.385, allocations: 196.9 kB / 1.454 GB, free: 10.1 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/1.387, allocations: 0.8415 MB / 1.454 GB, free: 9.246 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/1.387, allocations: 49.7 kB / 1.455 GB, free: 9.191 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006645/1.388, allocations: 0.6299 MB / 1.455 GB, free: 8.555 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004166/1.388, allocations: 376.8 kB / 1.455 GB, free: 8.184 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/1.388, allocations: 226.8 kB / 1.456 GB, free: 7.957 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001906/1.389, allocations: 349.9 kB / 1.456 GB, free: 7.609 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000828/1.389, allocations: 398.4 kB / 1.456 GB, free: 7.219 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000994/1.39, allocations: 0.511 MB / 1.457 GB, free: 6.691 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/1.392, allocations: 0.8916 MB / 1.458 GB, free: 5.785 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.392, allocations: 0 / 1.458 GB, free: 5.785 MB / 1.139 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002975/1.395, allocations: 1.216 MB / 1.459 GB, free: 4.559 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.395, allocations: 8 kB / 1.459 GB, free: 4.551 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.395, allocations: 0 / 1.459 GB, free: 4.551 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/1.396, allocations: 88.83 kB / 1.459 GB, free: 4.461 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/1.397, allocations: 223.7 kB / 1.459 GB, free: 4.242 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/1.399, allocations: 1.643 MB / 1.461 GB, free: 2.457 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/1.401, allocations: 141.3 kB / 1.461 GB, free: 2.32 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/1.401, allocations: 51.95 kB / 1.461 GB, free: 2.27 MB / 1.139 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.0008267/1.402, allocations: 356.2 kB / 1.461 GB, free: 1.91 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/1.402, allocations: 119.2 kB / 1.462 GB, free: 1.793 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/1.405, allocations: 1.524 MB / 1.463 GB, free: 256 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/1.405, allocations: 12 kB / 1.463 GB, free: 244 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.405, allocations: 4 kB / 1.463 GB, free: 240 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/1.405, allocations: 7.969 kB / 1.463 GB, free: 232 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/1.408, allocations: 1.384 MB / 1.464 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.408, allocations: 7.938 kB / 1.464 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008734/1.408, allocations: 191.7 kB / 1.465 GB, free: 14.6 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000483/1.409, allocations: 72.78 kB / 1.465 GB, free: 14.52 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.641e-05/1.409, allocations: 35.97 kB / 1.465 GB, free: 14.49 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/1.411, allocations: 1.678 MB / 1.466 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.411, allocations: 144 / 1.466 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/1.414, allocations: 1.289 MB / 1.468 GB, free: 11.35 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006661/1.415, allocations: 367.8 kB / 1.468 GB, free: 10.97 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.415, allocations: 35.95 kB / 1.468 GB, free: 10.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008849/1.416, allocations: 75.91 kB / 1.468 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002287/1.416, allocations: 101.1 kB / 1.468 GB, free: 10.76 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/1.416, allocations: 51.97 kB / 1.468 GB, free: 10.71 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009731/1.417, allocations: 0.6174 MB / 1.469 GB, free: 10.08 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.417, allocations: 0 / 1.469 GB, free: 10.08 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001495/1.419, allocations: 482.6 kB / 1.469 GB, free: 9.609 MB / 1.154 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.002095/1.421, allocations: 0.6244 MB / 1.47 GB, free: 9.16 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00258/1.424, allocations: 1.111 MB / 1.471 GB, free: 8.035 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/1.424, allocations: 0 / 1.471 GB, free: 8.035 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.425, allocations: 0.6427 MB / 1.472 GB, free: 7.383 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/1.427, allocations: 357.8 kB / 1.472 GB, free: 7.051 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005129/1.432, allocations: 2.503 MB / 1.474 GB, free: 4.52 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/1.433, allocations: 1.224 MB / 1.476 GB, free: 3.262 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001338/1.434, allocations: 317.2 kB / 1.476 GB, free: 2.949 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004315/1.435, allocations: 147.3 kB / 1.476 GB, free: 2.805 MB / 1.154 GB Notification: Performance of SimCode: time 1.713e-06/1.435, allocations: 0 / 1.476 GB, free: 2.805 MB / 1.154 GB Notification: Performance of Templates: time 0.04303/1.478, allocations: 21.37 MB / 1.497 GB, free: 13.63 MB / 1.186 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.504890630953014]