Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 108.6 kB / 16.41 MB, free: 6.027 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.001168/0.001168, allocations: 188.7 kB / 17.34 MB, free: 5.633 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.239/1.239, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.372/2.372, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 71.88 kB / 1.055 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6547, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006299/0.6611, allocations: 5.962 MB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1419/0.803, allocations: 150.8 MB / 1.362 GB, free: 256 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008122/0.8039, allocations: 15.94 kB / 1.362 GB, free: 240 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.8046, allocations: 237.7 kB / 1.362 GB, free: 0 / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.8065, allocations: 0.6287 MB / 1.362 GB, free: 15.37 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.8083, allocations: 0.8605 MB / 1.363 GB, free: 14.51 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001651/0.81, allocations: 1.658 MB / 1.365 GB, free: 12.85 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.8111, allocations: 0.8734 MB / 1.366 GB, free: 11.94 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007225/0.8118, allocations: 0.6111 MB / 1.366 GB, free: 11.33 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007242/0.8125, allocations: 0.665 MB / 1.367 GB, free: 10.66 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002395/0.8128, allocations: 156 kB / 1.367 GB, free: 10.51 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008267/0.8136, allocations: 0.5152 MB / 1.368 GB, free: 9.992 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.8139, allocations: 374.8 kB / 1.368 GB, free: 9.625 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006203/0.8146, allocations: 0.7346 MB / 1.369 GB, free: 8.887 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.8164, allocations: 2.034 MB / 1.371 GB, free: 6.848 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.8164, allocations: 0 / 1.371 GB, free: 6.848 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8164, allocations: 0 / 1.371 GB, free: 6.848 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.619e-05/0.8164, allocations: 0 / 1.371 GB, free: 6.848 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.00274/0.8192, allocations: 1.713 MB / 1.372 GB, free: 5.082 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.8192, allocations: 8.031 kB / 1.372 GB, free: 5.074 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008869/0.8201, allocations: 223 kB / 1.373 GB, free: 4.855 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.8212, allocations: 0.8677 MB / 1.373 GB, free: 3.945 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.8213, allocations: 90.41 kB / 1.373 GB, free: 3.855 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.8214, allocations: 120 kB / 1.374 GB, free: 3.738 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.8233, allocations: 1.198 MB / 1.375 GB, free: 2.477 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.8233, allocations: 3.938 kB / 1.375 GB, free: 2.473 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.294e-05/0.8234, allocations: 51.98 kB / 1.375 GB, free: 2.422 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.8234, allocations: 28 kB / 1.375 GB, free: 2.395 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.8253, allocations: 1.285 MB / 1.376 GB, free: 1.102 MB / 1.092 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.0044/0.8297, allocations: 3.537 MB / 1.38 GB, free: 13.39 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.8312, allocations: 0.8707 MB / 1.38 GB, free: 12.52 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005143/0.8317, allocations: 330.6 kB / 1.381 GB, free: 12.2 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.697e-05/0.8318, allocations: 32.61 kB / 1.381 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000811/0.8326, allocations: 0.5198 MB / 1.381 GB, free: 11.63 MB / 1.107 GB Notification: Performance of pre-optimization done (n=87): time 2.044e-06/0.8326, allocations: 0 / 1.381 GB, free: 11.63 MB / 1.107 GB Notification: Performance of matching and sorting (n=87): time 0.002966/0.8356, allocations: 1.278 MB / 1.382 GB, free: 10.32 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/0.8357, allocations: 196.9 kB / 1.383 GB, free: 10.09 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/0.8365, allocations: 0.7352 MB / 1.383 GB, free: 9.34 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.07e-05/0.8366, allocations: 45.7 kB / 1.383 GB, free: 9.289 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.8369, allocations: 0.5076 MB / 1.384 GB, free: 8.773 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002091/0.8371, allocations: 287.8 kB / 1.384 GB, free: 8.488 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.8374, allocations: 178.5 kB / 1.384 GB, free: 8.309 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.8375, allocations: 342 kB / 1.385 GB, free: 7.969 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.838, allocations: 289.8 kB / 1.385 GB, free: 7.684 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/0.8386, allocations: 391.1 kB / 1.385 GB, free: 7.289 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.8397, allocations: 0.6555 MB / 1.386 GB, free: 6.621 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8397, allocations: 4 kB / 1.386 GB, free: 6.617 MB / 1.107 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001869/0.8416, allocations: 0.9305 MB / 1.387 GB, free: 5.68 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.8416, allocations: 4 kB / 1.387 GB, free: 5.676 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.8416, allocations: 3.938 kB / 1.387 GB, free: 5.672 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.8422, allocations: 84.86 kB / 1.387 GB, free: 5.586 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006502/0.8428, allocations: 171.7 kB / 1.387 GB, free: 5.418 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.8447, allocations: 1.63 MB / 1.389 GB, free: 3.637 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.8454, allocations: 107.2 kB / 1.389 GB, free: 3.531 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.704e-05/0.8455, allocations: 31.98 kB / 1.389 GB, free: 3.5 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0004172/0.8459, allocations: 303.3 kB / 1.389 GB, free: 3.195 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.8461, allocations: 90.88 kB / 1.389 GB, free: 3.105 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.8483, allocations: 1.122 MB / 1.39 GB, free: 1.969 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8483, allocations: 15.94 kB / 1.39 GB, free: 1.953 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.8483, allocations: 0 / 1.39 GB, free: 1.953 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.8484, allocations: 11.97 kB / 1.39 GB, free: 1.941 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.8495, allocations: 1.052 MB / 1.391 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.8495, allocations: 48 / 1.391 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00057/0.85, allocations: 155.8 kB / 1.392 GB, free: 0.6875 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/0.8505, allocations: 72.78 kB / 1.392 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.8505, allocations: 23.98 kB / 1.392 GB, free: 0.5898 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/0.8522, allocations: 1.666 MB / 1.393 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8522, allocations: 4.062 kB / 1.393 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.854, allocations: 0.9785 MB / 1.394 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.8544, allocations: 287.5 kB / 1.395 GB, free: 13.47 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.8545, allocations: 27.92 kB / 1.395 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/0.8552, allocations: 66.12 kB / 1.395 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.8553, allocations: 76.83 kB / 1.395 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.314e-05/0.8554, allocations: 35.98 kB / 1.395 GB, free: 13.27 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005704/0.8559, allocations: 0.5146 MB / 1.395 GB, free: 12.76 MB / 1.123 GB Notification: Performance of sort global known variables: time 2e-07/0.856, allocations: 0 / 1.395 GB, free: 12.76 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008015/0.8568, allocations: 386.9 kB / 1.396 GB, free: 12.38 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001243/0.858, allocations: 0.5984 MB / 1.396 GB, free: 11.95 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.8596, allocations: 0.8936 MB / 1.397 GB, free: 11.05 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8596, allocations: 0 / 1.397 GB, free: 11.05 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008825/0.8605, allocations: 0.5433 MB / 1.398 GB, free: 10.49 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.8617, allocations: 333.9 kB / 1.398 GB, free: 10.19 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.8646, allocations: 2.005 MB / 1.4 GB, free: 8.148 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/0.8652, allocations: 1.102 MB / 1.401 GB, free: 7.016 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003047/0.8655, allocations: 123.4 kB / 1.401 GB, free: 6.895 MB / 1.123 GB Notification: Performance of SimCode: time 2.8e-07/0.8655, allocations: 4 kB / 1.401 GB, free: 6.891 MB / 1.123 GB Notification: Performance of Templates: time 0.0242/0.8898, allocations: 21.91 MB / 1.422 GB, free: 1.035 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches