Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001173/0.001173, allocations: 116.3 kB / 16.42 MB, free: 6.02 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.001249/0.001249, allocations: 185.2 kB / 17.35 MB, free: 5.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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.322/2.322, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233/1.234, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.0161/1.25, allocations: 9.93 MB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.2454/1.496, allocations: 153.4 MB / 1.248 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003918/1.5, allocations: 33.34 kB / 1.248 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003415/1.503, allocations: 0.7048 MB / 1.249 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006312/1.509, allocations: 1.074 MB / 1.25 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006175/1.515, allocations: 1.655 MB / 1.251 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.007055/1.523, allocations: 3.291 MB / 1.255 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007357/1.53, allocations: 3.247 MB / 1.258 GB, free: 396 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/1.533, allocations: 1.425 MB / 1.259 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003555/1.537, allocations: 1.58 MB / 1.261 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00141/1.538, allocations: 404 kB / 1.261 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003092/1.542, allocations: 0.9678 MB / 1.262 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001928/1.543, allocations: 0.8959 MB / 1.263 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003596/1.547, allocations: 1.575 MB / 1.265 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007988/1.555, allocations: 4.675 MB / 1.269 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.555, allocations: 0 / 1.269 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/1.555, allocations: 0 / 1.269 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001653/1.555, allocations: 0 / 1.269 GB, free: 4.84 MB / 0.9981 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.01026/1.566, allocations: 3.197 MB / 1.272 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.566, allocations: 16.03 kB / 1.272 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01278/1.578, allocations: 1.636 MB / 1.274 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004293/1.583, allocations: 1.565 MB / 1.275 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/1.583, allocations: 205.4 kB / 1.276 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/1.584, allocations: 260 kB / 1.276 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/1.596, allocations: 3.667 MB / 1.279 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.832e-05/1.596, allocations: 7.906 kB / 1.279 GB, free: 10.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006802/1.597, allocations: 120 kB / 1.279 GB, free: 9.91 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/1.597, allocations: 129 kB / 1.28 GB, free: 9.781 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01269/1.61, allocations: 4.114 MB / 1.284 GB, free: 5.652 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02219/1.632, allocations: 10.49 MB / 1.294 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009091/1.641, allocations: 2.936 MB / 1.297 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004073/1.645, allocations: 1.39 MB / 1.298 GB, free: 6.484 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009994/1.646, allocations: 0.5826 MB / 1.299 GB, free: 5.793 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0049/1.651, allocations: 1.761 MB / 1.3 GB, free: 4.008 MB / 1.029 GB Notification: Performance of pre-optimization done (n=217): time 6.492e-06/1.651, allocations: 0 / 1.3 GB, free: 4.008 MB / 1.029 GB Notification: Performance of matching and sorting (n=218): time 0.01523/1.666, allocations: 4.78 MB / 1.305 GB, free: 15.21 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/1.667, allocations: 261.3 kB / 1.305 GB, free: 14.9 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/1.669, allocations: 1.232 MB / 1.307 GB, free: 13.65 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003111/1.669, allocations: 65.7 kB / 1.307 GB, free: 13.58 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009489/1.67, allocations: 0.9766 MB / 1.308 GB, free: 12.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008197/1.671, allocations: 0.7086 MB / 1.308 GB, free: 11.88 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/1.672, allocations: 423.4 kB / 1.309 GB, free: 11.45 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.672, allocations: 301.1 kB / 1.309 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003763/1.676, allocations: 1.219 MB / 1.31 GB, free: 9.926 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004131/1.68, allocations: 1.518 MB / 1.312 GB, free: 8.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007685/1.688, allocations: 2.663 MB / 1.314 GB, free: 5.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.688, allocations: 7.938 kB / 1.314 GB, free: 5.562 MB / 1.045 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009103/1.697, allocations: 3.084 MB / 1.317 GB, free: 2.469 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/1.697, allocations: 7.984 kB / 1.317 GB, free: 2.461 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/1.697, allocations: 8 kB / 1.317 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.962e-05/1.697, allocations: 12 kB / 1.317 GB, free: 2.441 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/1.701, allocations: 0.6008 MB / 1.318 GB, free: 1.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.332e-05/1.701, allocations: 15.94 kB / 1.318 GB, free: 1.824 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/1.704, allocations: 314.6 kB / 1.318 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/1.705, allocations: 107.8 kB / 1.318 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005381/1.71, allocations: 1.601 MB / 1.32 GB, free: 15.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004162/1.714, allocations: 1.493 MB / 1.321 GB, free: 14.21 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007722/1.722, allocations: 2.604 MB / 1.324 GB, free: 11.53 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.315e-05/1.722, allocations: 4 kB / 1.324 GB, free: 11.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=267) (initialization_lambda0): time 0.009282/1.731, allocations: 3.024 MB / 1.327 GB, free: 8.492 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/1.731, allocations: 8 kB / 1.327 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/1.731, allocations: 4 kB / 1.327 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/1.731, allocations: 16 kB / 1.327 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003455/1.735, allocations: 0.5891 MB / 1.327 GB, free: 7.875 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.358e-05/1.735, allocations: 23.92 kB / 1.327 GB, free: 7.852 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/1.738, allocations: 309.4 kB / 1.328 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/1.738, allocations: 103.9 kB / 1.328 GB, free: 7.449 MB / 1.061 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.0007727/1.739, allocations: 315.8 kB / 1.328 GB, free: 7.133 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006674/1.74, allocations: 189.8 kB / 1.328 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.75, allocations: 3.492 MB / 1.332 GB, free: 3.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.609e-05/1.75, allocations: 11.95 kB / 1.332 GB, free: 3.418 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.75, allocations: 4 kB / 1.332 GB, free: 3.414 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/1.752, allocations: 0.6033 MB / 1.332 GB, free: 2.789 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/1.752, allocations: 51.92 kB / 1.332 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/1.755, allocations: 263.6 kB / 1.333 GB, free: 2.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/1.756, allocations: 149.8 kB / 1.333 GB, free: 2.332 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01065/1.766, allocations: 3.352 MB / 1.336 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008704/1.775, allocations: 3.244 MB / 1.339 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003986/1.779, allocations: 1.425 MB / 1.341 GB, free: 10.29 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002303/1.781, allocations: 0.8916 MB / 1.341 GB, free: 9.395 MB / 1.076 GB Notification: Performance of Backend: time 7.41e-07/1.781, allocations: 0 / 1.341 GB, free: 9.395 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01353/1.795, allocations: 4.157 MB / 1.345 GB, free: 5.473 MB / 1.076 GB Notification: Performance of SimCode: time 0.009645/1.805, allocations: 4.206 MB / 1.35 GB, free: 1.234 MB / 1.076 GB Notification: Performance of Templates: time 0.09839/1.903, allocations: 56.12 MB / 1.404 GB, free: 9.332 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_PVPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches