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.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.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.001991/0.001991, allocations: 110.5 kB / 16.42 MB, free: 6.516 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.002218/0.002219, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.45/1.45, allocations: 222.9 MB / 241.1 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.619/2.619, allocations: 469.4 MB / 0.7428 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001303, allocations: 68.11 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.827/0.8283, allocations: 159.1 MB / 1.221 GB, free: 2.391 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.01662/0.8449, allocations: 13.83 MB / 1.234 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1786/1.024, allocations: 153.6 MB / 1.384 GB, free: 10.27 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003231/1.027, allocations: 39.81 kB / 1.384 GB, free: 10.23 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003316/1.03, allocations: 0.7753 MB / 1.385 GB, free: 9.457 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.006499/1.037, allocations: 1.282 MB / 1.386 GB, free: 8.172 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007018/1.044, allocations: 1.685 MB / 1.388 GB, free: 6.492 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007518/1.051, allocations: 3.694 MB / 1.392 GB, free: 2.789 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00784/1.059, allocations: 3.162 MB / 1.395 GB, free: 15.56 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003318/1.062, allocations: 1.468 MB / 1.396 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/1.066, allocations: 1.638 MB / 1.398 GB, free: 12.45 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00143/1.068, allocations: 404 kB / 1.398 GB, free: 12.05 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002791/1.071, allocations: 0.9678 MB / 1.399 GB, free: 11.08 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00138/1.072, allocations: 0.896 MB / 1.4 GB, free: 10.18 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003016/1.075, allocations: 1.653 MB / 1.402 GB, free: 8.523 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007233/1.082, allocations: 4.79 MB / 1.406 GB, free: 3.719 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.082, allocations: 0 / 1.406 GB, free: 3.719 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.645e-06/1.082, allocations: 4 kB / 1.406 GB, free: 3.715 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002075/1.082, allocations: 0 / 1.406 GB, free: 3.715 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.0101/1.093, allocations: 3.263 MB / 1.41 GB, free: 392 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.093, allocations: 8.625 kB / 1.41 GB, free: 384 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0123/1.105, allocations: 1.636 MB / 1.411 GB, free: 14.73 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004025/1.109, allocations: 1.565 MB / 1.413 GB, free: 13.11 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/1.109, allocations: 209.4 kB / 1.413 GB, free: 12.9 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001113/1.11, allocations: 263.9 kB / 1.413 GB, free: 12.64 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/1.122, allocations: 3.67 MB / 1.417 GB, free: 8.844 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001092/1.123, allocations: 3.984 kB / 1.417 GB, free: 8.84 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008288/1.123, allocations: 116 kB / 1.417 GB, free: 8.727 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001767/1.124, allocations: 125 kB / 1.417 GB, free: 8.602 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/1.137, allocations: 4.122 MB / 1.421 GB, free: 4.465 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0232/1.16, allocations: 11.29 MB / 1.432 GB, free: 8.656 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009285/1.169, allocations: 2.917 MB / 1.435 GB, free: 5.734 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004165/1.173, allocations: 1.396 MB / 1.436 GB, free: 4.332 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009266/1.174, allocations: 0.5904 MB / 1.437 GB, free: 3.629 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005074/1.179, allocations: 1.753 MB / 1.438 GB, free: 1.855 MB / 1.154 GB Notification: Performance of pre-optimization done (n=217): time 5.911e-06/1.179, allocations: 0 / 1.438 GB, free: 1.855 MB / 1.154 GB Notification: Performance of matching and sorting (n=218): time 0.01628/1.196, allocations: 4.784 MB / 1.443 GB, free: 13.05 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001985/1.196, allocations: 265.3 kB / 1.443 GB, free: 12.74 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/1.198, allocations: 1.232 MB / 1.445 GB, free: 11.49 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0004296/1.199, allocations: 61.81 kB / 1.445 GB, free: 11.42 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/1.2, allocations: 0.9881 MB / 1.446 GB, free: 10.42 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.201, allocations: 0.7009 MB / 1.446 GB, free: 9.711 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/1.202, allocations: 423.4 kB / 1.447 GB, free: 9.289 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.203, allocations: 301.1 kB / 1.447 GB, free: 8.992 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004152/1.207, allocations: 1.223 MB / 1.448 GB, free: 7.758 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00422/1.211, allocations: 1.515 MB / 1.45 GB, free: 6.148 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008195/1.219, allocations: 2.675 MB / 1.452 GB, free: 3.402 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/1.219, allocations: 3.938 kB / 1.452 GB, free: 3.398 MB / 1.17 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.01028/1.23, allocations: 3.095 MB / 1.455 GB, free: 300 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/1.23, allocations: 5.719 kB / 1.455 GB, free: 296 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/1.23, allocations: 8 kB / 1.455 GB, free: 288 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.037e-05/1.23, allocations: 12.53 kB / 1.455 GB, free: 276 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003772/1.234, allocations: 0.6045 MB / 1.456 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-05/1.234, allocations: 15.94 kB / 1.456 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003146/1.237, allocations: 314.4 kB / 1.456 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004546/1.237, allocations: 103.9 kB / 1.456 GB, free: 15.24 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004813/1.242, allocations: 1.608 MB / 1.458 GB, free: 13.62 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004145/1.246, allocations: 1.492 MB / 1.459 GB, free: 12.03 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007853/1.254, allocations: 2.621 MB / 1.462 GB, free: 9.324 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.907e-06/1.254, allocations: 0 / 1.462 GB, free: 9.324 MB / 1.186 GB Notification: Performance of matching and sorting (n=267) (initialization_lambda0): time 0.009382/1.263, allocations: 3.021 MB / 1.465 GB, free: 6.293 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.264, allocations: 8 kB / 1.465 GB, free: 6.285 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.264, allocations: 4 kB / 1.465 GB, free: 6.281 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.264, allocations: 16.53 kB / 1.465 GB, free: 6.266 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/1.267, allocations: 0.5967 MB / 1.465 GB, free: 5.668 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.521e-05/1.267, allocations: 23.92 kB / 1.466 GB, free: 5.645 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/1.27, allocations: 294.5 kB / 1.466 GB, free: 5.355 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003418/1.271, allocations: 107.9 kB / 1.466 GB, free: 5.25 MB / 1.186 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.0008334/1.271, allocations: 316.3 kB / 1.466 GB, free: 4.934 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006654/1.272, allocations: 189.7 kB / 1.466 GB, free: 4.746 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/1.282, allocations: 3.496 MB / 1.47 GB, free: 1.23 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.139e-05/1.282, allocations: 15.95 kB / 1.47 GB, free: 1.215 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.282, allocations: 4 kB / 1.47 GB, free: 1.211 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/1.284, allocations: 0.5956 MB / 1.47 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005429/1.284, allocations: 59.77 kB / 1.47 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/1.287, allocations: 254.2 kB / 1.471 GB, free: 296 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003656/1.287, allocations: 157.8 kB / 1.471 GB, free: 140 kB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01052/1.298, allocations: 3.348 MB / 1.474 GB, free: 12.78 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008507/1.306, allocations: 3.248 MB / 1.477 GB, free: 9.516 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003698/1.31, allocations: 1.433 MB / 1.479 GB, free: 8.086 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001524/1.312, allocations: 0.8838 MB / 1.48 GB, free: 7.203 MB / 1.201 GB Notification: Performance of Backend: time 7.51e-07/1.312, allocations: 0 / 1.48 GB, free: 7.203 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01249/1.324, allocations: 4.159 MB / 1.484 GB, free: 3.273 MB / 1.201 GB Notification: Performance of SimCode: time 0.007995/1.332, allocations: 4.236 MB / 1.488 GB, free: 15 MB / 1.217 GB Notification: Performance of Templates: time 0.08956/1.422, allocations: 57.51 MB / 1.544 GB, free: 5.738 MB / 1.264 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