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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001491/0.001491, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00182/0.001821, allocations: 189.5 kB / 16.25 MB, free: 6.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.383/1.383, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 472.7 MB / 0.7449 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 67.39 kB / 0.9116 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4974, allocations: 159.9 MB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.01369/0.5112, allocations: 5.944 MB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.6887, allocations: 148.6 MB / 1.219 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.69, allocations: 23.88 kB / 1.219 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008407/0.691, allocations: 182.5 kB / 1.219 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.6934, allocations: 0.5471 MB / 1.219 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.6955, allocations: 0.781 MB / 1.22 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002362/0.6979, allocations: 1.646 MB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.6991, allocations: 0.8696 MB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008277/0.7, allocations: 0.6034 MB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.7007, allocations: 0.6689 MB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001971/0.7009, allocations: 152 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.702, allocations: 499.6 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.7023, allocations: 374.8 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007049/0.703, allocations: 0.7463 MB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.7052, allocations: 1.986 MB / 1.227 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7052, allocations: 0 / 1.227 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7052, allocations: 0 / 1.227 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.509e-05/0.7052, allocations: 0 / 1.227 GB, free: 6.445 MB / 0.9825 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.002972/0.7082, allocations: 1.713 MB / 1.229 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.7083, allocations: 8.031 kB / 1.229 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009974/0.7093, allocations: 223 kB / 1.229 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.7105, allocations: 0.8482 MB / 1.23 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/0.7106, allocations: 86.41 kB / 1.23 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.7107, allocations: 116 kB / 1.23 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.7127, allocations: 1.206 MB / 1.232 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.7128, allocations: 0 / 1.232 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.7129, allocations: 52 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.7129, allocations: 28 kB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.715, allocations: 1.281 MB / 1.233 GB, free: 0.7266 MB / 0.9825 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.005779/0.7208, allocations: 3.585 MB / 1.236 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.7224, allocations: 0.8675 MB / 1.237 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.723, allocations: 334.6 kB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.044e-05/0.7231, allocations: 24.61 kB / 1.238 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009978/0.7241, allocations: 0.5275 MB / 1.238 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.535e-06/0.7241, allocations: 0 / 1.238 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003498/0.7276, allocations: 1.274 MB / 1.239 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.7277, allocations: 200.9 kB / 1.24 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.7288, allocations: 0.7352 MB / 1.24 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.489e-05/0.7289, allocations: 45.7 kB / 1.24 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.7293, allocations: 0.5076 MB / 1.241 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.7296, allocations: 287.8 kB / 1.241 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.7299, allocations: 174.5 kB / 1.241 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.73, allocations: 337.9 kB / 1.242 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/0.7306, allocations: 293.8 kB / 1.242 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006724/0.7313, allocations: 387.1 kB / 1.242 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.7325, allocations: 0.6633 MB / 1.243 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.7325, allocations: 0 / 1.243 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002105/0.7346, allocations: 0.9228 MB / 1.244 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.7346, allocations: 7.938 kB / 1.244 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.7347, allocations: 3.938 kB / 1.244 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006387/0.7353, allocations: 84.86 kB / 1.244 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007343/0.736, allocations: 175.7 kB / 1.244 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.7385, allocations: 1.647 MB / 1.246 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009242/0.7394, allocations: 103.3 kB / 1.246 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.7395, allocations: 35.98 kB / 1.246 GB, free: 3.062 MB / 0.9981 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.000589/0.7401, allocations: 305 kB / 1.246 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.7403, allocations: 94.88 kB / 1.246 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.7428, allocations: 1.122 MB / 1.247 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/0.7428, allocations: 23.92 kB / 1.247 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.7429, allocations: 0 / 1.247 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.7429, allocations: 3.984 kB / 1.247 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.7443, allocations: 1.064 MB / 1.248 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.7443, allocations: 0 / 1.248 GB, free: 400 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006449/0.745, allocations: 151.8 kB / 1.248 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/0.7454, allocations: 72.78 kB / 1.249 GB, free: 172 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/0.7455, allocations: 23.98 kB / 1.249 GB, free: 148 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5777/1.323, allocations: 1.652 MB / 1.25 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.323, allocations: 2.531 kB / 1.25 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00239/1.326, allocations: 0.9831 MB / 1.251 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004249/1.326, allocations: 292.5 kB / 1.251 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.326, allocations: 20.7 kB / 1.251 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006977/1.327, allocations: 73.84 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/1.327, allocations: 75.59 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/1.327, allocations: 36.12 kB / 1.252 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007207/1.328, allocations: 0.5152 MB / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.328, allocations: 0 / 1.252 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00103/1.329, allocations: 384.8 kB / 1.252 GB, free: 181.7 MB / 0.9981 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.001333/1.33, allocations: 0.6111 MB / 1.253 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002698/1.333, allocations: 1.102 MB / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.333, allocations: 0.8438 kB / 1.254 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.334, allocations: 0.5481 MB / 1.255 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/1.336, allocations: 320.5 kB / 1.255 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/1.339, allocations: 2.537 MB / 1.257 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/1.339, allocations: 1.112 MB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009201/1.34, allocations: 289.5 kB / 1.259 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/1.341, allocations: 114.3 kB / 1.259 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.243e-06/1.341, allocations: 3.938 kB / 1.259 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03509/1.376, allocations: 16.29 MB / 1.275 GB, free: 176.3 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches