Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|pvSimple.load.S.1.|pvSimple.load.S.2.|RL.S.1.|RL.S.2.|pvOriented.panel.load.S.1.|pvOriented.panel.load.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|pvSimple.load.S.1.|pvSimple.load.S.2.|RL.S.1.|RL.S.2.|pvOriented.panel.load.S.1.|pvOriented.panel.load.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 109.6 kB / 16.41 MB, free: 6.504 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.00225/0.00225, allocations: 189.5 kB / 17.34 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.475/2.475, allocations: 461.7 MB / 0.7353 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 60.11 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7738/0.7752, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01571/0.7909, allocations: 13.83 MB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1588/0.9498, allocations: 153.6 MB / 1.372 GB, free: 5.52 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.9518, allocations: 43.81 kB / 1.372 GB, free: 5.477 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.9542, allocations: 0.7721 MB / 1.373 GB, free: 4.699 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.9583, allocations: 1.26 MB / 1.374 GB, free: 3.438 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003989/0.9623, allocations: 1.683 MB / 1.375 GB, free: 1.762 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00482/0.9671, allocations: 3.69 MB / 1.379 GB, free: 14.06 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005248/0.9724, allocations: 3.162 MB / 1.382 GB, free: 10.84 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.9746, allocations: 1.445 MB / 1.384 GB, free: 9.387 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002562/0.9772, allocations: 1.638 MB / 1.385 GB, free: 7.742 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001007/0.9782, allocations: 408 kB / 1.386 GB, free: 7.344 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.9805, allocations: 0.9678 MB / 1.386 GB, free: 6.375 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.9817, allocations: 0.8959 MB / 1.387 GB, free: 5.477 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002874/0.9845, allocations: 1.649 MB / 1.389 GB, free: 3.82 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006803/0.9914, allocations: 4.796 MB / 1.394 GB, free: 15.01 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9914, allocations: 0 / 1.394 GB, free: 15.01 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9914, allocations: 0 / 1.394 GB, free: 15.01 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001413/0.9915, allocations: 0 / 1.394 GB, free: 15.01 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: 700 * Number of variables: 700 Notification: Performance of Generate backend data structure: time 0.008589/1, allocations: 3.259 MB / 1.397 GB, free: 11.68 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1, allocations: 12.03 kB / 1.397 GB, free: 11.67 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/1.012, allocations: 1.632 MB / 1.398 GB, free: 10.04 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002998/1.015, allocations: 1.569 MB / 1.4 GB, free: 8.406 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/1.015, allocations: 205.4 kB / 1.4 GB, free: 8.203 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004827/1.015, allocations: 260 kB / 1.4 GB, free: 7.949 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008515/1.024, allocations: 3.667 MB / 1.404 GB, free: 4.152 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-05/1.024, allocations: 3.938 kB / 1.404 GB, free: 4.148 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/1.024, allocations: 112 kB / 1.404 GB, free: 4.039 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/1.024, allocations: 125 kB / 1.404 GB, free: 3.914 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/1.035, allocations: 4.114 MB / 1.408 GB, free: 15.79 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/1.053, allocations: 11.3 MB / 1.419 GB, free: 3.961 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007728/1.061, allocations: 2.928 MB / 1.422 GB, free: 1.023 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003556/1.064, allocations: 1.391 MB / 1.423 GB, free: 15.62 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008316/1.065, allocations: 0.5863 MB / 1.424 GB, free: 14.93 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004293/1.069, allocations: 1.755 MB / 1.426 GB, free: 13.15 MB / 1.154 GB Notification: Performance of pre-optimization done (n=217): time 5.651e-06/1.069, allocations: 0 / 1.426 GB, free: 13.15 MB / 1.154 GB Notification: Performance of matching and sorting (n=218): time 0.01324/1.083, allocations: 4.784 MB / 1.43 GB, free: 8.352 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001441/1.083, allocations: 265.2 kB / 1.431 GB, free: 8.039 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/1.085, allocations: 1.224 MB / 1.432 GB, free: 6.797 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004239/1.085, allocations: 69.8 kB / 1.432 GB, free: 6.723 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008668/1.086, allocations: 0.9882 MB / 1.433 GB, free: 5.723 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008718/1.087, allocations: 0.7047 MB / 1.434 GB, free: 5.008 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/1.088, allocations: 419.4 kB / 1.434 GB, free: 4.59 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/1.088, allocations: 305.1 kB / 1.434 GB, free: 4.289 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003763/1.092, allocations: 1.216 MB / 1.435 GB, free: 3.062 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004019/1.096, allocations: 1.522 MB / 1.437 GB, free: 1.441 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007694/1.104, allocations: 2.675 MB / 1.44 GB, free: 14.69 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/1.104, allocations: 3.938 kB / 1.44 GB, free: 14.69 MB / 1.17 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009429/1.113, allocations: 3.092 MB / 1.443 GB, free: 11.59 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.113, allocations: 8 kB / 1.443 GB, free: 11.58 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.113, allocations: 8 kB / 1.443 GB, free: 11.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.113, allocations: 12 kB / 1.443 GB, free: 11.56 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/1.117, allocations: 0.6009 MB / 1.443 GB, free: 10.96 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.758e-05/1.117, allocations: 16 kB / 1.443 GB, free: 10.94 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/1.12, allocations: 318.4 kB / 1.444 GB, free: 10.63 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/1.12, allocations: 103.9 kB / 1.444 GB, free: 10.53 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004633/1.125, allocations: 1.601 MB / 1.445 GB, free: 8.918 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003835/1.129, allocations: 1.492 MB / 1.447 GB, free: 7.324 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007131/1.136, allocations: 2.616 MB / 1.449 GB, free: 4.629 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.245e-06/1.136, allocations: 0 / 1.449 GB, free: 4.629 MB / 1.17 GB Notification: Performance of matching and sorting (n=267) (initialization_lambda0): time 0.009524/1.145, allocations: 3.028 MB / 1.452 GB, free: 1.594 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.145, allocations: 4 kB / 1.452 GB, free: 1.59 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.145, allocations: 8.094 kB / 1.452 GB, free: 1.582 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/1.146, allocations: 19.98 kB / 1.452 GB, free: 1.562 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/1.149, allocations: 0.5931 MB / 1.453 GB, free: 0.9688 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.692e-05/1.149, allocations: 16 kB / 1.453 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/1.152, allocations: 308.8 kB / 1.453 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004023/1.152, allocations: 107.9 kB / 1.453 GB, free: 0.5469 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 29 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,pvOriented.HDirTil.incAng.decAng.tNext,$PRE.pvOriented.HDirTil.incAng.decAng.tNext,pvOriented.HDifTil.incAng.decAng.tNext,$PRE.pvOriented.HDifTil.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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDifTil.incAng.decAng.tNext,$PRE.HDifTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (267): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007921/1.153, allocations: 307.8 kB / 1.453 GB, free: 244 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006491/1.154, allocations: 185.7 kB / 1.454 GB, free: 56 kB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/1.164, allocations: 3.498 MB / 1.457 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.305e-05/1.164, allocations: 15.94 kB / 1.457 GB, free: 12.52 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.164, allocations: 4 kB / 1.457 GB, free: 12.52 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.165, allocations: 0.5995 MB / 1.458 GB, free: 11.9 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006113/1.166, allocations: 55.78 kB / 1.458 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002764/1.169, allocations: 259.7 kB / 1.458 GB, free: 11.59 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003291/1.169, allocations: 153.8 kB / 1.458 GB, free: 11.44 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009784/1.179, allocations: 3.338 MB / 1.461 GB, free: 8.09 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008215/1.187, allocations: 3.248 MB / 1.465 GB, free: 4.828 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003658/1.191, allocations: 1.437 MB / 1.466 GB, free: 3.391 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001498/1.192, allocations: 0.8838 MB / 1.467 GB, free: 2.508 MB / 1.186 GB Notification: Performance of Backend: time 7.41e-07/1.192, allocations: 0 / 1.467 GB, free: 2.508 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01163/1.204, allocations: 4.156 MB / 1.471 GB, free: 14.58 MB / 1.201 GB Notification: Performance of SimCode: time 0.006865/1.211, allocations: 4.258 MB / 1.475 GB, free: 10.29 MB / 1.201 GB Notification: Performance of Templates: time 0.082/1.293, allocations: 56.89 MB / 1.531 GB, free: 1.656 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_PVPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches