Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001379/0.001379, allocations: 111.4 kB / 16.42 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.00149/0.00149, allocations: 189.5 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 67.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.105/1.107, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels): time 0.01577/1.123, allocations: 12.35 MB / 1.22 GB, free: 1.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1735/1.296, allocations: 153.6 MB / 1.371 GB, free: 7.035 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/1.299, allocations: 43.75 kB / 1.371 GB, free: 6.992 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003707/1.303, allocations: 0.7838 MB / 1.371 GB, free: 6.203 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005229/1.308, allocations: 1.255 MB / 1.373 GB, free: 4.945 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004577/1.313, allocations: 1.685 MB / 1.374 GB, free: 3.266 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00535/1.318, allocations: 3.694 MB / 1.378 GB, free: 15.56 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004578/1.323, allocations: 3.151 MB / 1.381 GB, free: 12.35 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/1.325, allocations: 1.476 MB / 1.382 GB, free: 10.87 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/1.327, allocations: 1.634 MB / 1.384 GB, free: 9.227 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005732/1.328, allocations: 400 kB / 1.384 GB, free: 8.836 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/1.33, allocations: 0.9756 MB / 1.385 GB, free: 7.859 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007496/1.33, allocations: 0.8998 MB / 1.386 GB, free: 6.957 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001619/1.332, allocations: 1.649 MB / 1.388 GB, free: 5.301 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005185/1.337, allocations: 4.796 MB / 1.392 GB, free: 0.4922 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/1.337, allocations: 4 kB / 1.392 GB, free: 500 kB / 1.107 GB Notification: Performance of FrontEnd: time 1.844e-06/1.337, allocations: 0 / 1.392 GB, free: 500 kB / 1.107 GB Notification: Performance of Transformations before backend: time 6.508e-05/1.337, allocations: 0 / 1.392 GB, free: 500 kB / 1.107 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.006622/1.344, allocations: 3.259 MB / 1.396 GB, free: 13.16 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.344, allocations: 12.03 kB / 1.396 GB, free: 13.15 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/1.355, allocations: 1.636 MB / 1.397 GB, free: 11.51 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003572/1.358, allocations: 1.569 MB / 1.399 GB, free: 9.879 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/1.359, allocations: 205.4 kB / 1.399 GB, free: 9.676 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008662/1.359, allocations: 256 kB / 1.399 GB, free: 9.426 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/1.371, allocations: 3.674 MB / 1.403 GB, free: 5.621 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.228e-05/1.371, allocations: 3.938 kB / 1.403 GB, free: 5.617 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005655/1.371, allocations: 116 kB / 1.403 GB, free: 5.504 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/1.371, allocations: 125 kB / 1.403 GB, free: 5.379 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/1.383, allocations: 4.11 MB / 1.407 GB, free: 1.258 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02419/1.407, allocations: 11.3 MB / 1.418 GB, free: 5.438 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/1.421, allocations: 2.928 MB / 1.421 GB, free: 2.496 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00616/1.427, allocations: 1.39 MB / 1.422 GB, free: 1.098 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.428, allocations: 0.5982 MB / 1.423 GB, free: 400 kB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007356/1.436, allocations: 1.753 MB / 1.425 GB, free: 14.61 MB / 1.154 GB Notification: Performance of pre-optimization done (n=217): time 9.077e-06/1.436, allocations: 0 / 1.425 GB, free: 14.61 MB / 1.154 GB Notification: Performance of matching and sorting (n=218): time 0.02107/1.457, allocations: 4.784 MB / 1.429 GB, free: 9.812 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/1.457, allocations: 261.3 kB / 1.429 GB, free: 9.504 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/1.459, allocations: 1.228 MB / 1.431 GB, free: 8.258 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004802/1.46, allocations: 65.7 kB / 1.431 GB, free: 8.188 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009918/1.461, allocations: 0.9765 MB / 1.432 GB, free: 7.199 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001049/1.462, allocations: 0.7047 MB / 1.432 GB, free: 6.484 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/1.463, allocations: 423.4 kB / 1.433 GB, free: 6.062 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.463, allocations: 301.1 kB / 1.433 GB, free: 5.766 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003648/1.467, allocations: 1.223 MB / 1.434 GB, free: 4.531 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00391/1.471, allocations: 1.515 MB / 1.436 GB, free: 2.918 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007481/1.478, allocations: 2.675 MB / 1.438 GB, free: 176 kB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.478, allocations: 4 kB / 1.438 GB, free: 172 kB / 1.154 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009348/1.488, allocations: 3.088 MB / 1.441 GB, free: 13.07 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/1.488, allocations: 8 kB / 1.441 GB, free: 13.06 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/1.488, allocations: 16.45 kB / 1.441 GB, free: 13.05 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.185e-05/1.488, allocations: 16 kB / 1.441 GB, free: 13.03 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/1.491, allocations: 0.5968 MB / 1.442 GB, free: 12.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.28e-05/1.492, allocations: 19.94 kB / 1.442 GB, free: 12.41 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/1.495, allocations: 314.4 kB / 1.442 GB, free: 12.11 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004001/1.495, allocations: 99.91 kB / 1.442 GB, free: 12.01 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004951/1.5, allocations: 1.605 MB / 1.444 GB, free: 10.39 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004072/1.504, allocations: 1.496 MB / 1.445 GB, free: 8.797 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007413/1.512, allocations: 2.621 MB / 1.448 GB, free: 6.098 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.291e-05/1.512, allocations: 0 / 1.448 GB, free: 6.098 MB / 1.17 GB Notification: Performance of matching and sorting (n=267) (initialization_lambda0): time 0.00918/1.521, allocations: 3.017 MB / 1.451 GB, free: 3.07 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.521, allocations: 8 kB / 1.451 GB, free: 3.062 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.521, allocations: 4.531 kB / 1.451 GB, free: 3.059 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.521, allocations: 20 kB / 1.451 GB, free: 3.039 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.524, allocations: 0.5928 MB / 1.452 GB, free: 2.445 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.81e-05/1.524, allocations: 19.94 kB / 1.452 GB, free: 2.426 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/1.527, allocations: 300.9 kB / 1.452 GB, free: 2.133 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003548/1.528, allocations: 107.9 kB / 1.452 GB, free: 2.027 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.0008235/1.528, allocations: 323.6 kB / 1.452 GB, free: 1.703 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000718/1.529, allocations: 185.7 kB / 1.452 GB, free: 1.52 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.539, allocations: 3.504 MB / 1.456 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.699e-05/1.54, allocations: 11.95 kB / 1.456 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/1.54, allocations: 0 / 1.456 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/1.541, allocations: 0.5956 MB / 1.456 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006882/1.542, allocations: 59.77 kB / 1.457 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00278/1.544, allocations: 255.7 kB / 1.457 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/1.545, allocations: 153.8 kB / 1.457 GB, free: 12.9 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01027/1.555, allocations: 3.344 MB / 1.46 GB, free: 9.555 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008429/1.564, allocations: 3.24 MB / 1.463 GB, free: 6.301 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003638/1.567, allocations: 1.437 MB / 1.465 GB, free: 4.863 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001563/1.569, allocations: 0.8799 MB / 1.466 GB, free: 3.984 MB / 1.186 GB Notification: Performance of Backend: time 5.01e-07/1.569, allocations: 0 / 1.466 GB, free: 3.984 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.582, allocations: 4.171 MB / 1.47 GB, free: 48 kB / 1.186 GB Notification: Performance of SimCode: time 0.009354/1.592, allocations: 4.246 MB / 1.474 GB, free: 11.77 MB / 1.201 GB Notification: Performance of Templates: time 0.1017/1.693, allocations: 58.79 MB / 1.531 GB, free: 1.219 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_PVPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches