Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 117.7 kB / 16.42 MB, free: 6.496 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.001815/0.001815, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.634/2.634, allocations: 469.4 MB / 0.7428 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 67.83 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8626/0.864, allocations: 159.1 MB / 1.221 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.03426/0.8983, allocations: 28.78 MB / 1.249 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1783/1.077, allocations: 158 MB / 1.403 GB, free: 6.887 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004705/1.081, allocations: 79.69 kB / 1.403 GB, free: 6.809 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006792/1.088, allocations: 1.966 MB / 1.405 GB, free: 4.836 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.008615/1.097, allocations: 1.994 MB / 1.407 GB, free: 2.836 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.007476/1.104, allocations: 2.912 MB / 1.41 GB, free: 15.93 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.008842/1.113, allocations: 7.141 MB / 1.417 GB, free: 8.77 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01144/1.125, allocations: 7.83 MB / 1.425 GB, free: 0.8516 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004325/1.129, allocations: 2.863 MB / 1.427 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004962/1.134, allocations: 3.282 MB / 1.431 GB, free: 10.69 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001936/1.136, allocations: 0.7344 MB / 1.431 GB, free: 9.953 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003589/1.14, allocations: 1.491 MB / 1.433 GB, free: 8.461 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002949/1.143, allocations: 2.175 MB / 1.435 GB, free: 6.281 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005324/1.148, allocations: 3.011 MB / 1.438 GB, free: 3.258 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01288/1.161, allocations: 9.648 MB / 1.447 GB, free: 9.582 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.161, allocations: 0 / 1.447 GB, free: 9.582 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.044e-06/1.161, allocations: 0 / 1.447 GB, free: 9.582 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0003077/1.161, allocations: 4 kB / 1.447 GB, free: 9.578 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01533/1.177, allocations: 5.359 MB / 1.453 GB, free: 4.133 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/1.177, allocations: 12.62 kB / 1.453 GB, free: 4.121 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01435/1.191, allocations: 2.039 MB / 1.455 GB, free: 2.074 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006093/1.197, allocations: 2.72 MB / 1.457 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/1.197, allocations: 369.7 kB / 1.458 GB, free: 14.93 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001226/1.199, allocations: 472 kB / 1.458 GB, free: 14.47 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/1.213, allocations: 7.354 MB / 1.465 GB, free: 6.883 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.075e-05/1.213, allocations: 11.84 kB / 1.465 GB, free: 6.871 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005595/1.214, allocations: 216 kB / 1.465 GB, free: 6.66 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002539/1.214, allocations: 256.5 kB / 1.466 GB, free: 6.406 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/1.231, allocations: 7.114 MB / 1.473 GB, free: 15.27 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04181/1.272, allocations: 28.16 MB / 1.5 GB, free: 1.293 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/1.283, allocations: 4.511 MB / 1.505 GB, free: 12.74 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005132/1.288, allocations: 2.207 MB / 1.507 GB, free: 10.52 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008779/1.289, allocations: 0.519 MB / 1.507 GB, free: 9.906 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006022/1.295, allocations: 2.49 MB / 1.51 GB, free: 7.348 MB / 1.232 GB Notification: Performance of pre-optimization done (n=277): time 7.394e-06/1.295, allocations: 0 / 1.51 GB, free: 7.348 MB / 1.232 GB Notification: Performance of matching and sorting (n=280): time 0.02058/1.316, allocations: 8.481 MB / 1.518 GB, free: 14.77 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002422/1.316, allocations: 390 kB / 1.518 GB, free: 14.3 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/1.32, allocations: 1.924 MB / 1.52 GB, free: 12.34 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005358/1.32, allocations: 81.7 kB / 1.52 GB, free: 12.25 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.322, allocations: 1.876 MB / 1.522 GB, free: 10.35 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/1.323, allocations: 0.9165 MB / 1.523 GB, free: 9.422 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001565/1.324, allocations: 0.6193 MB / 1.524 GB, free: 8.793 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/1.325, allocations: 301.1 kB / 1.524 GB, free: 8.496 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004659/1.329, allocations: 1.838 MB / 1.526 GB, free: 6.648 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005136/1.334, allocations: 2.543 MB / 1.528 GB, free: 3.832 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009639/1.344, allocations: 4.351 MB / 1.532 GB, free: 15.21 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/1.344, allocations: 4 kB / 1.532 GB, free: 15.2 MB / 1.264 GB Notification: Performance of matching and sorting (n=385) (initialization): time 0.01169/1.356, allocations: 4.76 MB / 1.537 GB, free: 10.4 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/1.356, allocations: 13.88 kB / 1.537 GB, free: 10.39 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/1.356, allocations: 23.94 kB / 1.537 GB, free: 10.36 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.595e-05/1.356, allocations: 28 kB / 1.537 GB, free: 10.34 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004615/1.361, allocations: 0.8933 MB / 1.538 GB, free: 9.441 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.76e-05/1.361, allocations: 43.86 kB / 1.538 GB, free: 9.398 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003943/1.365, allocations: 441.9 kB / 1.538 GB, free: 8.965 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004111/1.365, allocations: 155.9 kB / 1.539 GB, free: 8.812 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006494/1.371, allocations: 2.817 MB / 1.541 GB, free: 5.988 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005033/1.377, allocations: 2.392 MB / 1.544 GB, free: 3.312 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009574/1.386, allocations: 4.044 MB / 1.548 GB, free: 15.02 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-05/1.386, allocations: 12 kB / 1.548 GB, free: 15.01 MB / 1.279 GB Notification: Performance of matching and sorting (n=385) (initialization_lambda0): time 0.0126/1.399, allocations: 4.428 MB / 1.552 GB, free: 10.57 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/1.399, allocations: 12 kB / 1.552 GB, free: 10.56 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/1.399, allocations: 20.84 kB / 1.552 GB, free: 10.54 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.514e-05/1.399, allocations: 35.94 kB / 1.552 GB, free: 10.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00448/1.403, allocations: 0.8463 MB / 1.553 GB, free: 9.656 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.965e-05/1.404, allocations: 43.86 kB / 1.553 GB, free: 9.613 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004018/1.408, allocations: 397.9 kB / 1.553 GB, free: 9.223 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005217/1.408, allocations: 155.9 kB / 1.553 GB, free: 9.07 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (385): * Single equations (assignments): 385 * 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.001304/1.409, allocations: 383.4 kB / 1.554 GB, free: 8.691 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.41, allocations: 268.8 kB / 1.554 GB, free: 8.426 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01447/1.425, allocations: 4.888 MB / 1.559 GB, free: 3.484 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-05/1.425, allocations: 15.94 kB / 1.559 GB, free: 3.469 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.425, allocations: 0 / 1.559 GB, free: 3.469 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003082/1.428, allocations: 0.8288 MB / 1.56 GB, free: 2.617 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/1.43, allocations: 67.84 kB / 1.56 GB, free: 2.551 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004271/1.434, allocations: 431.4 kB / 1.56 GB, free: 2.129 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005751/1.435, allocations: 186.1 kB / 1.56 GB, free: 1.945 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.7942/2.229, allocations: 4.857 MB / 1.565 GB, free: 325.5 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01172/2.241, allocations: 4.702 MB / 1.57 GB, free: 323.6 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00488/2.245, allocations: 2.067 MB / 1.572 GB, free: 322.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0025/2.248, allocations: 1.399 MB / 1.573 GB, free: 322.3 MB / 1.279 GB Notification: Performance of Backend: time 5.01e-07/2.248, allocations: 0 / 1.573 GB, free: 322.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01604/2.264, allocations: 5.832 MB / 1.579 GB, free: 320.5 MB / 1.279 GB Notification: Performance of SimCode: time 0.01245/2.277, allocations: 7.392 MB / 1.586 GB, free: 316.9 MB / 1.279 GB Notification: Performance of Templates: time 0.1044/2.381, allocations: 82.43 MB / 1.666 GB, free: 243.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches