Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 110.7 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 189.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 60.12 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/0.7671, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008459/0.7756, allocations: 7.081 MB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1511/0.9268, allocations: 151.2 MB / 1.322 GB, free: 5.008 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.9278, allocations: 15.94 kB / 1.322 GB, free: 4.992 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006842/0.9285, allocations: 265.4 kB / 1.322 GB, free: 4.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.9307, allocations: 0.7809 MB / 1.323 GB, free: 3.949 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.9328, allocations: 1.023 MB / 1.324 GB, free: 2.934 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.9347, allocations: 2.097 MB / 1.326 GB, free: 0.8281 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.9361, allocations: 1.099 MB / 1.327 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009142/0.937, allocations: 0.8332 MB / 1.328 GB, free: 14.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008464/0.9378, allocations: 0.887 MB / 1.329 GB, free: 13.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002553/0.9381, allocations: 216 kB / 1.329 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.9391, allocations: 0.5777 MB / 1.329 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.9395, allocations: 486.5 kB / 1.33 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007662/0.9403, allocations: 0.9759 MB / 1.331 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.9427, allocations: 2.677 MB / 1.333 GB, free: 9.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.9427, allocations: 0 / 1.333 GB, free: 9.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9427, allocations: 0 / 1.333 GB, free: 9.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.326e-05/0.9427, allocations: 0 / 1.333 GB, free: 9.02 MB / 1.061 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.003455/0.9462, allocations: 2.043 MB / 1.335 GB, free: 6.922 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.9462, allocations: 16.62 kB / 1.335 GB, free: 6.906 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.9473, allocations: 258.6 kB / 1.336 GB, free: 6.652 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.9486, allocations: 0.989 MB / 1.337 GB, free: 5.617 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.9487, allocations: 148.8 kB / 1.337 GB, free: 5.465 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.9489, allocations: 156 kB / 1.337 GB, free: 5.312 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.9514, allocations: 1.585 MB / 1.338 GB, free: 3.672 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.9515, allocations: 4 kB / 1.338 GB, free: 3.668 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.9516, allocations: 64 kB / 1.339 GB, free: 3.605 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.714e-05/0.9517, allocations: 40 kB / 1.339 GB, free: 3.566 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.9543, allocations: 1.596 MB / 1.34 GB, free: 1.965 MB / 1.061 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.006719/0.961, allocations: 4.669 MB / 1.345 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.9629, allocations: 1.094 MB / 1.346 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007988/0.9638, allocations: 435.6 kB / 1.346 GB, free: 11.58 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.707e-05/0.9639, allocations: 37.02 kB / 1.346 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001194/0.9651, allocations: 0.7092 MB / 1.347 GB, free: 10.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=111): time 3.227e-06/0.9651, allocations: 0 / 1.347 GB, free: 10.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=111): time 0.003996/0.9691, allocations: 1.657 MB / 1.349 GB, free: 9.133 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.9692, allocations: 200.9 kB / 1.349 GB, free: 8.895 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.9703, allocations: 0.8337 MB / 1.35 GB, free: 8.055 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.632e-05/0.9704, allocations: 53.7 kB / 1.35 GB, free: 7.996 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000538/0.971, allocations: 0.6167 MB / 1.35 GB, free: 7.371 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.9713, allocations: 362.8 kB / 1.351 GB, free: 7.012 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.9716, allocations: 222.8 kB / 1.351 GB, free: 6.789 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.9718, allocations: 349.9 kB / 1.351 GB, free: 6.441 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007539/0.9726, allocations: 402.4 kB / 1.351 GB, free: 6.047 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008444/0.9734, allocations: 0.5072 MB / 1.352 GB, free: 5.523 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.975, allocations: 0.8877 MB / 1.353 GB, free: 4.621 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.975, allocations: 0 / 1.353 GB, free: 4.621 MB / 1.076 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002648/0.9777, allocations: 1.207 MB / 1.354 GB, free: 3.402 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.9777, allocations: 4 kB / 1.354 GB, free: 3.398 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.9777, allocations: 4.125 kB / 1.354 GB, free: 3.395 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.9783, allocations: 84.77 kB / 1.354 GB, free: 3.309 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/0.9793, allocations: 235.6 kB / 1.354 GB, free: 3.078 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.9815, allocations: 1.659 MB / 1.356 GB, free: 1.277 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.9826, allocations: 133.4 kB / 1.356 GB, free: 1.148 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/0.9827, allocations: 51.97 kB / 1.356 GB, free: 1.098 MB / 1.076 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.0006459/0.9833, allocations: 348.2 kB / 1.356 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.9836, allocations: 118.5 kB / 1.357 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/0.9869, allocations: 1.524 MB / 1.358 GB, free: 15.09 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.9869, allocations: 11.97 kB / 1.358 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.9869, allocations: 0 / 1.358 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/0.9875, allocations: 355.2 kB / 1.358 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.9877, allocations: 35.92 kB / 1.358 GB, free: 14.67 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009196/0.9886, allocations: 83.86 kB / 1.359 GB, free: 14.59 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/0.9888, allocations: 105.1 kB / 1.359 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002684/0.9915, allocations: 1.302 MB / 1.36 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003077/0.9946, allocations: 1.937 MB / 1.362 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007941/0.9954, allocations: 0.5022 MB / 1.362 GB, free: 10.72 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0008255/0.9962, allocations: 0.6174 MB / 1.363 GB, free: 10.09 MB / 1.092 GB Notification: Performance of Backend: time 2.81e-07/0.9962, allocations: 0 / 1.363 GB, free: 10.09 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003693/0.9999, allocations: 1.462 MB / 1.364 GB, free: 8.82 MB / 1.092 GB Notification: Performance of SimCode: time 0.004072/1.004, allocations: 2.786 MB / 1.367 GB, free: 5.992 MB / 1.092 GB Notification: Performance of Templates: time 0.03581/1.04, allocations: 22.51 MB / 1.389 GB, free: 15.63 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches