Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Electrical.AC.OnePhase.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_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.OnePhase.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_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001142, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001111/0.001111, allocations: 190.7 kB / 17.35 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 55.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155/1.157, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Electrical/Interfaces/PartialPV.mo:8:3-10:67:writable] Warning: Parameter pvOriented.panel.V_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=110) as default value. Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.01482/1.172, allocations: 12.4 MB / 1.179 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.2126/1.384, allocations: 153.6 MB / 1.329 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003631/1.388, allocations: 39.75 kB / 1.329 GB, free: 13.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003618/1.392, allocations: 0.7812 MB / 1.33 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006662/1.398, allocations: 1.278 MB / 1.331 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005506/1.404, allocations: 1.682 MB / 1.333 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006751/1.411, allocations: 3.701 MB / 1.337 GB, free: 5.699 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006989/1.418, allocations: 3.151 MB / 1.34 GB, free: 2.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003229/1.421, allocations: 1.472 MB / 1.341 GB, free: 1.004 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003717/1.425, allocations: 1.642 MB / 1.343 GB, free: 15.36 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001811/1.426, allocations: 404 kB / 1.343 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003553/1.43, allocations: 0.9678 MB / 1.344 GB, free: 13.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002031/1.432, allocations: 0.8921 MB / 1.345 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003981/1.436, allocations: 1.66 MB / 1.347 GB, free: 11.43 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009106/1.445, allocations: 4.792 MB / 1.351 GB, free: 6.625 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/1.445, allocations: 7.984 kB / 1.351 GB, free: 6.617 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.855e-06/1.445, allocations: 0 / 1.351 GB, free: 6.617 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002152/1.445, allocations: 3.938 kB / 1.351 GB, free: 6.613 MB / 1.076 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.01005/1.456, allocations: 3.259 MB / 1.355 GB, free: 3.285 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/1.456, allocations: 8.922 kB / 1.355 GB, free: 3.277 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/1.468, allocations: 1.636 MB / 1.356 GB, free: 1.637 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/1.472, allocations: 1.577 MB / 1.358 GB, free: 0 / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/1.472, allocations: 201.4 kB / 1.358 GB, free: 15.8 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007879/1.473, allocations: 260 kB / 1.358 GB, free: 15.54 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/1.483, allocations: 3.663 MB / 1.362 GB, free: 11.75 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.885e-05/1.483, allocations: 4 kB / 1.362 GB, free: 11.75 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003232/1.483, allocations: 112 kB / 1.362 GB, free: 11.64 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/1.483, allocations: 133 kB / 1.362 GB, free: 11.51 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/1.496, allocations: 4.114 MB / 1.366 GB, free: 7.379 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02798/1.524, allocations: 11.3 MB / 1.377 GB, free: 11.56 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009688/1.534, allocations: 2.929 MB / 1.38 GB, free: 8.625 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004166/1.538, allocations: 1.4 MB / 1.381 GB, free: 7.219 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/1.539, allocations: 0.5904 MB / 1.382 GB, free: 6.516 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005275/1.544, allocations: 1.761 MB / 1.384 GB, free: 4.734 MB / 1.107 GB Notification: Performance of pre-optimization done (n=217): time 8.416e-06/1.544, allocations: 0 / 1.384 GB, free: 4.734 MB / 1.107 GB Notification: Performance of matching and sorting (n=218): time 0.01633/1.561, allocations: 4.784 MB / 1.388 GB, free: 15.93 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002008/1.561, allocations: 257.3 kB / 1.388 GB, free: 15.62 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/1.564, allocations: 1.224 MB / 1.39 GB, free: 14.38 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.00058/1.564, allocations: 69.7 kB / 1.39 GB, free: 14.31 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001296/1.566, allocations: 0.9804 MB / 1.391 GB, free: 13.32 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001166/1.567, allocations: 0.7008 MB / 1.391 GB, free: 12.61 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/1.568, allocations: 427.4 kB / 1.392 GB, free: 12.18 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.568, allocations: 305.1 kB / 1.392 GB, free: 11.88 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004135/1.573, allocations: 1.219 MB / 1.393 GB, free: 10.65 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004402/1.577, allocations: 1.518 MB / 1.395 GB, free: 9.035 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008262/1.585, allocations: 2.671 MB / 1.397 GB, free: 6.293 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.631e-05/1.585, allocations: 3.938 kB / 1.397 GB, free: 6.289 MB / 1.123 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01012/1.595, allocations: 3.088 MB / 1.4 GB, free: 3.191 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/1.596, allocations: 10.5 kB / 1.4 GB, free: 3.184 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/1.596, allocations: 4 kB / 1.4 GB, free: 3.18 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-05/1.596, allocations: 16 kB / 1.4 GB, free: 3.164 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003804/1.599, allocations: 0.6049 MB / 1.401 GB, free: 2.559 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.263e-05/1.6, allocations: 19.94 kB / 1.401 GB, free: 2.539 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003377/1.603, allocations: 310.4 kB / 1.401 GB, free: 2.234 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000475/1.603, allocations: 107.9 kB / 1.401 GB, free: 2.129 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005644/1.609, allocations: 1.605 MB / 1.403 GB, free: 0.5156 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00429/1.613, allocations: 1.496 MB / 1.404 GB, free: 14.91 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008141/1.622, allocations: 2.617 MB / 1.407 GB, free: 12.21 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.16e-05/1.622, allocations: 4 kB / 1.407 GB, free: 12.21 MB / 1.139 GB Notification: Performance of matching and sorting (n=267) (initialization_lambda0): time 0.01049/1.632, allocations: 3.025 MB / 1.41 GB, free: 9.176 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.632, allocations: 8 kB / 1.41 GB, free: 9.168 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/1.632, allocations: 8 kB / 1.41 GB, free: 9.16 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.046e-05/1.632, allocations: 16 kB / 1.41 GB, free: 9.145 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003629/1.636, allocations: 0.5893 MB / 1.411 GB, free: 8.555 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.429e-05/1.636, allocations: 15.94 kB / 1.411 GB, free: 8.539 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/1.64, allocations: 313.4 kB / 1.411 GB, free: 8.234 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004675/1.64, allocations: 99.92 kB / 1.411 GB, free: 8.137 MB / 1.139 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.001142/1.641, allocations: 323.7 kB / 1.411 GB, free: 7.812 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009415/1.642, allocations: 181.8 kB / 1.411 GB, free: 7.633 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/1.654, allocations: 3.496 MB / 1.415 GB, free: 4.117 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-05/1.654, allocations: 15.95 kB / 1.415 GB, free: 4.102 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/1.654, allocations: 0 / 1.415 GB, free: 4.102 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/1.656, allocations: 0.5956 MB / 1.415 GB, free: 3.484 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008242/1.657, allocations: 63.78 kB / 1.416 GB, free: 3.422 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003224/1.66, allocations: 255.7 kB / 1.416 GB, free: 3.172 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004371/1.661, allocations: 157.8 kB / 1.416 GB, free: 3.02 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01124/1.672, allocations: 3.34 MB / 1.419 GB, free: 15.67 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009267/1.681, allocations: 3.252 MB / 1.422 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004025/1.685, allocations: 1.433 MB / 1.424 GB, free: 10.98 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002728/1.688, allocations: 0.8838 MB / 1.425 GB, free: 10.09 MB / 1.154 GB Notification: Performance of Backend: time 8.92e-07/1.688, allocations: 0 / 1.425 GB, free: 10.09 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01602/1.704, allocations: 4.152 MB / 1.429 GB, free: 6.141 MB / 1.154 GB Notification: Performance of SimCode: time 0.01141/1.716, allocations: 4.247 MB / 1.433 GB, free: 1.852 MB / 1.154 GB Notification: Performance of Templates: time 0.1066/1.822, allocations: 57.5 MB / 1.489 GB, free: 8.523 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_PVPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches