Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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: 112.1 kB / 16.42 MB, free: 6.473 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.00189/0.001891, allocations: 187.9 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.13 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.603/2.603, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9684/0.9699, allocations: 151.6 MB / 1.167 GB, free: 4.004 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.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01857/0.9885, allocations: 13.89 MB / 1.181 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1815/1.17, allocations: 153.6 MB / 1.331 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003297/1.173, allocations: 35.81 kB / 1.331 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/1.177, allocations: 0.7849 MB / 1.332 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005264/1.182, allocations: 1.267 MB / 1.333 GB, free: 9.746 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004723/1.187, allocations: 1.694 MB / 1.335 GB, free: 8.059 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006002/1.193, allocations: 3.701 MB / 1.338 GB, free: 4.344 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006354/1.199, allocations: 3.159 MB / 1.341 GB, free: 1.117 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/1.202, allocations: 1.468 MB / 1.343 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003045/1.205, allocations: 1.634 MB / 1.344 GB, free: 14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001182/1.206, allocations: 404 kB / 1.345 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/1.209, allocations: 0.9756 MB / 1.346 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/1.21, allocations: 0.8959 MB / 1.347 GB, free: 11.73 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003376/1.214, allocations: 1.645 MB / 1.348 GB, free: 10.08 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007828/1.221, allocations: 4.802 MB / 1.353 GB, free: 5.266 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.221, allocations: 0 / 1.353 GB, free: 5.266 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.316e-06/1.221, allocations: 8 kB / 1.353 GB, free: 5.258 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001891/1.222, allocations: 0 / 1.353 GB, free: 5.258 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.01054/1.232, allocations: 3.255 MB / 1.356 GB, free: 1.934 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/1.232, allocations: 8.922 kB / 1.356 GB, free: 1.926 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01271/1.245, allocations: 1.64 MB / 1.358 GB, free: 288 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003789/1.249, allocations: 1.565 MB / 1.359 GB, free: 14.66 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000241/1.249, allocations: 201.4 kB / 1.359 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009365/1.25, allocations: 268 kB / 1.36 GB, free: 14.2 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0109/1.261, allocations: 3.651 MB / 1.363 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001002/1.261, allocations: 7.938 kB / 1.363 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006872/1.262, allocations: 116 kB / 1.363 GB, free: 10.29 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/1.262, allocations: 125 kB / 1.363 GB, free: 10.17 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01303/1.275, allocations: 4.11 MB / 1.367 GB, free: 6.043 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02294/1.298, allocations: 11.32 MB / 1.378 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009479/1.308, allocations: 2.913 MB / 1.381 GB, free: 7.285 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004399/1.312, allocations: 1.396 MB / 1.383 GB, free: 5.883 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001095/1.313, allocations: 0.5826 MB / 1.383 GB, free: 5.188 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005535/1.319, allocations: 1.764 MB / 1.385 GB, free: 3.406 MB / 1.107 GB Notification: Performance of pre-optimization done (n=217): time 8.717e-06/1.319, allocations: 0 / 1.385 GB, free: 3.406 MB / 1.107 GB Notification: Performance of matching and sorting (n=218): time 0.01594/1.335, allocations: 4.784 MB / 1.39 GB, free: 14.6 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001765/1.335, allocations: 261.3 kB / 1.39 GB, free: 14.29 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/1.337, allocations: 1.228 MB / 1.391 GB, free: 13.04 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004417/1.338, allocations: 73.64 kB / 1.391 GB, free: 12.96 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001103/1.339, allocations: 0.9804 MB / 1.392 GB, free: 11.97 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.34, allocations: 0.693 MB / 1.393 GB, free: 11.27 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/1.341, allocations: 431.4 kB / 1.393 GB, free: 10.84 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.341, allocations: 305.1 kB / 1.393 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00397/1.345, allocations: 1.219 MB / 1.395 GB, free: 9.309 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004163/1.349, allocations: 1.518 MB / 1.396 GB, free: 7.695 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008484/1.358, allocations: 2.675 MB / 1.399 GB, free: 4.949 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/1.358, allocations: 4 kB / 1.399 GB, free: 4.945 MB / 1.123 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.0102/1.368, allocations: 3.088 MB / 1.402 GB, free: 1.848 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/1.368, allocations: 8 kB / 1.402 GB, free: 1.84 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/1.368, allocations: 4 kB / 1.402 GB, free: 1.836 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.733e-05/1.368, allocations: 16.53 kB / 1.402 GB, free: 1.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003698/1.372, allocations: 0.6045 MB / 1.402 GB, free: 1.215 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.671e-05/1.372, allocations: 19.98 kB / 1.402 GB, free: 1.195 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/1.375, allocations: 308.2 kB / 1.403 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004062/1.376, allocations: 107.9 kB / 1.403 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004775/1.38, allocations: 1.605 MB / 1.404 GB, free: 15.17 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003978/1.384, allocations: 1.488 MB / 1.406 GB, free: 13.58 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007752/1.392, allocations: 2.623 MB / 1.408 GB, free: 10.88 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.555e-05/1.392, allocations: 4 kB / 1.408 GB, free: 10.88 MB / 1.139 GB Notification: Performance of matching and sorting (n=267) (initialization_lambda0): time 0.01022/1.402, allocations: 3.023 MB / 1.411 GB, free: 7.844 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/1.403, allocations: 8 kB / 1.411 GB, free: 7.836 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/1.403, allocations: 4 kB / 1.411 GB, free: 7.832 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.403, allocations: 16.53 kB / 1.411 GB, free: 7.816 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003851/1.406, allocations: 0.5928 MB / 1.412 GB, free: 7.223 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.759e-05/1.407, allocations: 19.98 kB / 1.412 GB, free: 7.203 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003507/1.41, allocations: 298.5 kB / 1.412 GB, free: 6.91 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005781/1.411, allocations: 103.9 kB / 1.412 GB, free: 6.809 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.001325/1.412, allocations: 323.8 kB / 1.413 GB, free: 6.484 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.413, allocations: 185.8 kB / 1.413 GB, free: 6.301 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/1.425, allocations: 3.5 MB / 1.416 GB, free: 2.781 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-05/1.425, allocations: 11.95 kB / 1.416 GB, free: 2.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/1.425, allocations: 0 / 1.416 GB, free: 2.77 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.427, allocations: 0.6071 MB / 1.417 GB, free: 2.141 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007922/1.427, allocations: 47.91 kB / 1.417 GB, free: 2.094 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003142/1.43, allocations: 263.6 kB / 1.417 GB, free: 1.836 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004331/1.431, allocations: 153.8 kB / 1.417 GB, free: 1.688 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0112/1.442, allocations: 3.34 MB / 1.421 GB, free: 14.34 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008758/1.451, allocations: 3.244 MB / 1.424 GB, free: 11.08 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003739/1.455, allocations: 1.44 MB / 1.425 GB, free: 9.645 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001534/1.456, allocations: 0.8838 MB / 1.426 GB, free: 8.762 MB / 1.154 GB Notification: Performance of Backend: time 7.11e-07/1.456, allocations: 0 / 1.426 GB, free: 8.762 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01267/1.469, allocations: 4.162 MB / 1.43 GB, free: 4.797 MB / 1.154 GB Notification: Performance of SimCode: time 0.008375/1.477, allocations: 4.245 MB / 1.434 GB, free: 0.5117 MB / 1.154 GB Notification: Performance of Templates: time 0.0995/1.577, allocations: 57.5 MB / 1.49 GB, free: 7.199 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_PVPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches