Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 109.8 kB / 16.41 MB, free: 6.469 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.001327/0.001327, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.336/1.336, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.712/2.712, allocations: 472.7 MB / 0.746 GB, free: 440 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 63.89 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7994, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.009769/0.8092, allocations: 8.423 MB / 1.235 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1668/0.9761, allocations: 151.8 MB / 1.383 GB, free: 12.58 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.9777, allocations: 23.88 kB / 1.383 GB, free: 12.56 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.979, allocations: 320.6 kB / 1.383 GB, free: 12.24 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003258/0.9823, allocations: 0.8714 MB / 1.384 GB, free: 11.37 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.9856, allocations: 1.378 MB / 1.385 GB, free: 9.996 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003815/0.9894, allocations: 3.009 MB / 1.388 GB, free: 6.977 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.9918, allocations: 1.488 MB / 1.39 GB, free: 5.426 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.9936, allocations: 1.199 MB / 1.391 GB, free: 4.223 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.9955, allocations: 1.354 MB / 1.392 GB, free: 2.863 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0007515/0.9963, allocations: 324 kB / 1.393 GB, free: 2.547 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.9979, allocations: 0.7066 MB / 1.393 GB, free: 1.84 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008505/0.9988, allocations: 0.6894 MB / 1.394 GB, free: 1.148 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001825/1.001, allocations: 1.345 MB / 1.395 GB, free: 15.79 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.004436/1.005, allocations: 3.675 MB / 1.399 GB, free: 12.11 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.005, allocations: 0 / 1.399 GB, free: 12.11 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.175e-06/1.005, allocations: 0 / 1.399 GB, free: 12.11 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001135/1.005, allocations: 3.938 kB / 1.399 GB, free: 12.11 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.007543/1.013, allocations: 2.889 MB / 1.402 GB, free: 9.137 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.013, allocations: 16.03 kB / 1.402 GB, free: 9.121 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/1.029, allocations: 2.121 MB / 1.404 GB, free: 6.996 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/1.031, allocations: 1.295 MB / 1.405 GB, free: 5.652 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/1.032, allocations: 168.5 kB / 1.405 GB, free: 5.484 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006797/1.032, allocations: 224 kB / 1.405 GB, free: 5.266 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009573/1.042, allocations: 3.278 MB / 1.409 GB, free: 1.895 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/1.042, allocations: 0 / 1.409 GB, free: 1.895 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003853/1.042, allocations: 95.98 kB / 1.409 GB, free: 1.801 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/1.042, allocations: 52 kB / 1.409 GB, free: 1.75 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01277/1.055, allocations: 4.201 MB / 1.413 GB, free: 13.53 MB / 1.139 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.01687/1.072, allocations: 8.059 MB / 1.421 GB, free: 5.203 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008864/1.081, allocations: 2.879 MB / 1.423 GB, free: 2.316 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004475/1.085, allocations: 1.497 MB / 1.425 GB, free: 0.8125 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009172/1.086, allocations: 0.4996 MB / 1.425 GB, free: 228 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005123/1.092, allocations: 1.848 MB / 1.427 GB, free: 14.36 MB / 1.154 GB Notification: Performance of pre-optimization done (n=213): time 5.64e-06/1.092, allocations: 0 / 1.427 GB, free: 14.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=213): time 0.01521/1.107, allocations: 4.479 MB / 1.432 GB, free: 9.852 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/1.107, allocations: 205.9 kB / 1.432 GB, free: 9.605 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/1.108, allocations: 0.9448 MB / 1.433 GB, free: 8.641 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002529/1.109, allocations: 65.7 kB / 1.433 GB, free: 8.57 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006386/1.109, allocations: 0.76 MB / 1.434 GB, free: 7.801 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006696/1.11, allocations: 0.7204 MB / 1.434 GB, free: 7.074 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008143/1.111, allocations: 399.2 kB / 1.435 GB, free: 6.68 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/1.111, allocations: 301.1 kB / 1.435 GB, free: 6.383 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004199/1.115, allocations: 1.257 MB / 1.436 GB, free: 5.125 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004349/1.119, allocations: 1.441 MB / 1.438 GB, free: 3.66 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008297/1.128, allocations: 2.606 MB / 1.44 GB, free: 1.035 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/1.128, allocations: 0 / 1.44 GB, free: 1.035 MB / 1.154 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01039/1.138, allocations: 3.129 MB / 1.443 GB, free: 13.89 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/1.138, allocations: 9.562 kB / 1.443 GB, free: 13.88 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.138, allocations: 0 / 1.443 GB, free: 13.88 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006447/1.139, allocations: 88.83 kB / 1.443 GB, free: 13.79 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003944/1.143, allocations: 0.6006 MB / 1.444 GB, free: 13.19 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/1.145, allocations: 1.637 MB / 1.445 GB, free: 11.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/1.149, allocations: 374.4 kB / 1.446 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004504/1.149, allocations: 99.89 kB / 1.446 GB, free: 10.95 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.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 (239): * Single equations (assignments): 238 * 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.001366/1.15, allocations: 448.8 kB / 1.446 GB, free: 10.5 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005482/1.151, allocations: 171 kB / 1.446 GB, free: 10.33 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/1.163, allocations: 3.701 MB / 1.45 GB, free: 6.605 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.58e-05/1.163, allocations: 11.95 kB / 1.45 GB, free: 6.594 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.163, allocations: 4 kB / 1.45 GB, free: 6.59 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.164, allocations: 0.546 MB / 1.451 GB, free: 6.023 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004296/1.164, allocations: 55.89 kB / 1.451 GB, free: 5.969 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002874/1.167, allocations: 271.7 kB / 1.451 GB, free: 5.703 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/1.167, allocations: 153.8 kB / 1.451 GB, free: 5.555 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01191/1.179, allocations: 3.439 MB / 1.454 GB, free: 2.109 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01395/1.193, allocations: 5.065 MB / 1.459 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004177/1.197, allocations: 1.523 MB / 1.461 GB, free: 11.5 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001112/1.199, allocations: 0.6919 MB / 1.462 GB, free: 10.8 MB / 1.186 GB Notification: Performance of Backend: time 6.62e-07/1.199, allocations: 4 kB / 1.462 GB, free: 10.8 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008286/1.207, allocations: 2.588 MB / 1.464 GB, free: 8.426 MB / 1.186 GB Notification: Performance of SimCode: time 0.005758/1.213, allocations: 3.568 MB / 1.468 GB, free: 4.809 MB / 1.186 GB Notification: Performance of Templates: time 0.06424/1.277, allocations: 41.28 MB / 1.508 GB, free: 11.7 MB / 1.232 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches