Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_10_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_10_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.001172/0.001172, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001617/0.001617, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003445, allocations: 8 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6014/0.6018, allocations: 153.8 MB / 1.022 GB, free: 212 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006192/0.608, allocations: 5.205 MB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1507/0.7587, allocations: 137 MB / 1.161 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007928/0.7596, allocations: 19.88 kB / 1.161 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.7601, allocations: 174.5 kB / 1.161 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.7616, allocations: 0.5127 MB / 1.162 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.7632, allocations: 0.6566 MB / 1.163 GB, free: 216 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001632/0.7648, allocations: 1.443 MB / 1.164 GB, free: 14.76 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009681/0.7658, allocations: 0.6327 MB / 1.165 GB, free: 14.11 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006473/0.7665, allocations: 410.1 kB / 1.165 GB, free: 13.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005581/0.767, allocations: 461.5 kB / 1.165 GB, free: 13.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.834e-05/0.7671, allocations: 28 kB / 1.166 GB, free: 13.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007764/0.7679, allocations: 331.7 kB / 1.166 GB, free: 12.9 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.7682, allocations: 210.9 kB / 1.166 GB, free: 12.7 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.7684, allocations: 253 kB / 1.166 GB, free: 12.44 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.7699, allocations: 1.469 MB / 1.168 GB, free: 10.97 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.7699, allocations: 3.984 kB / 1.168 GB, free: 10.96 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7699, allocations: 0 / 1.168 GB, free: 10.96 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.7699, allocations: 4 kB / 1.168 GB, free: 10.96 MB / 0.92 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.002444/0.7724, allocations: 1.448 MB / 1.169 GB, free: 9.461 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.7725, allocations: 16.56 kB / 1.169 GB, free: 9.445 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009242/0.7734, allocations: 234 kB / 1.169 GB, free: 9.215 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.7746, allocations: 0.813 MB / 1.17 GB, free: 8.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.388e-05/0.7747, allocations: 94.39 kB / 1.17 GB, free: 8.266 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.7748, allocations: 112 kB / 1.17 GB, free: 8.156 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.7769, allocations: 1.202 MB / 1.172 GB, free: 6.891 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.7769, allocations: 3.938 kB / 1.172 GB, free: 6.887 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.7771, allocations: 52 kB / 1.172 GB, free: 6.836 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.7771, allocations: 28 kB / 1.172 GB, free: 6.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.7792, allocations: 1.285 MB / 1.173 GB, free: 5.516 MB / 0.92 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.005035/0.7842, allocations: 3.605 MB / 1.176 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.7858, allocations: 0.8798 MB / 1.177 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.7864, allocations: 322.7 kB / 1.178 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.202e-05/0.7865, allocations: 32.61 kB / 1.178 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009082/0.7874, allocations: 0.512 MB / 1.178 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=87): time 2.655e-06/0.7874, allocations: 0 / 1.178 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=87): time 0.003058/0.7905, allocations: 1.299 MB / 1.179 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.7906, allocations: 192.9 kB / 1.18 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009454/0.7915, allocations: 0.7275 MB / 1.18 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.486e-05/0.7916, allocations: 45.7 kB / 1.18 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.792, allocations: 0.5114 MB / 1.181 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.7922, allocations: 283.9 kB / 1.181 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.7923, allocations: 20.11 kB / 1.181 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7924, allocations: 341.9 kB / 1.181 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.793, allocations: 289.8 kB / 1.182 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006416/0.7936, allocations: 395 kB / 1.182 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.7943, allocations: 338.9 kB / 1.182 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.7943, allocations: 0 / 1.182 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001855/0.7961, allocations: 0.9189 MB / 1.183 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.7962, allocations: 15.92 kB / 1.183 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.7962, allocations: 3.953 kB / 1.183 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005203/0.7967, allocations: 76.88 kB / 1.183 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007118/0.7974, allocations: 179.8 kB / 1.184 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.7993, allocations: 1.532 MB / 1.185 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007323/0.8001, allocations: 115.3 kB / 1.185 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/0.8002, allocations: 44.03 kB / 1.185 GB, free: 8.422 MB / 0.9356 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004707/0.8006, allocations: 299.4 kB / 1.185 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.8008, allocations: 94.78 kB / 1.186 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.8032, allocations: 1.137 MB / 1.187 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.8032, allocations: 8 kB / 1.187 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.8032, allocations: 0 / 1.187 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.8032, allocations: 7.984 kB / 1.187 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.8045, allocations: 1.055 MB / 1.188 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8045, allocations: 0 / 1.188 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006314/0.8051, allocations: 163.7 kB / 1.188 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004733/0.8056, allocations: 80.77 kB / 1.188 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.8057, allocations: 27.98 kB / 1.188 GB, free: 5.484 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/0.8074, allocations: 1.548 MB / 1.189 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.8074, allocations: 0 / 1.189 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001985/0.8094, allocations: 0.9902 MB / 1.19 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.8099, allocations: 303.5 kB / 1.191 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.8101, allocations: 23.98 kB / 1.191 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.8107, allocations: 86.38 kB / 1.191 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.8109, allocations: 72.88 kB / 1.191 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.811, allocations: 43.88 kB / 1.191 GB, free: 2.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007277/0.8117, allocations: 0.5107 MB / 1.191 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8117, allocations: 0 / 1.191 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000956/0.8127, allocations: 386.8 kB / 1.192 GB, free: 1.367 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/0.8141, allocations: 0.6095 MB / 1.192 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.8158, allocations: 0.89 MB / 1.193 GB, free: 28 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8158, allocations: 0 / 1.193 GB, free: 28 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009518/0.8167, allocations: 0.5394 MB / 1.194 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.818, allocations: 289.3 kB / 1.194 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.8217, allocations: 2.463 MB / 1.197 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006191/0.8224, allocations: 1.11 MB / 1.198 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009716/0.8233, allocations: 295.6 kB / 1.198 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.8236, allocations: 115.3 kB / 1.198 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.8236, allocations: 0 / 1.198 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of Templates: time 0.0262/0.8498, allocations: 15.14 MB / 1.213 GB, free: 12.22 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches